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">
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
9 <style type=
"text/css">
11 *:before
, *:after
{ color: red
; }
19 text-decoration: none
;
41 .bef:before, .af:after {
42 content: "This sentence must be green.";
44 .bef:BeFoRe, .af:aFtEr {
48 /* test for ASCII (not UNICODE) case-insensitivity */
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>