Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / case-sensitive-003.xhtml
blobfbf63c5aa34550e5a0340539b30d6d6f3a9441a9
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>CSS Test: Case-sensitivity of pseudo-classes and pseudo-elements</title>
5 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/"/>
6 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#characters"/>
7 <meta name="assert" content="Pseudo-class and pseudo-element names are ASCII
8 case-insensitive."/>
9 <style type="text/css">
10 * { color: red; }
11 *:before, *:after { color: red; }
13 p:FiRSt-cHIlD {
14 color: green;
17 :LinK, :viSiTed {
18 color: green;
19 text-decoration: none;
20 font: inherit;
23 :lAnG(en) {
24 color: green;
27 .flin {
28 white-space: nowrap;
30 .flin:fIrsT-LinE {
31 color: green;
34 .flet span {
35 color: green;
37 .flet:fIRst-LEttEr {
38 color: green;
41 .bef:before, .af:after {
42 content: "This sentence must be green.";
44 .bef:BeFoRe, .af:aFtEr {
45 color: green;
48 /* test for ASCII (not UNICODE) case-insensitivity */
49 p:fİrst-child {
50 color: red;
52 p:fırst-child {
53 color: red;
55 :lin&#x212a; {
56 color: red;
58 </style>
60 </head>
61 <body>
62 <p>This sentence must be green.</p>
63 <p><a href="">This sentence must be green.</a></p>
64 <p><a href="unvisited:link">This sentence must be green.</a></p>
65 <p lang="en">This sentence must be green.</p>
66 <p class="flin">This sentence must be green.</p>
67 <p class="flet">T<span>his sentence must be green.</span></p>
68 <p class="bef"></p>
69 <p class="af"></p>
70 </body>
71 </html>