1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 <title>CSS Test: Case-sensitivity of :lang() arguments
</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=
"The argument to :lang() is ASCII case-insensitive."/>
8 <style type=
"text/css">
9 .test-folding { color: red
; }
18 /* test for ASCII (not UNICODE) case-insensitivity */
19 .test-unicode { color: green
; }
33 <div class=
"test-folding">
34 <p lang=
"En">This sentence must be green.
</p>
35 <p xml:
lang=
"eN">This sentence must be green.
</p>
36 <p lang=
"fr">This sentence must be green.
</p>
37 <p xml:
lang=
"fR">This sentence must be green.
</p>
39 <div class=
"test-unicode">
40 <p xml:
lang=
"kl">This sentence must be green.
</p>
41 <p lang=
"KL">This sentence must be green.
</p>
42 <p xml:
lang=
"fi">This sentence must be green.
</p>
43 <p lang=
"FI">This sentence must be green.
</p>