Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / case-sensitive-004.xhtml
blobd20a2243b01c3bbe1e40a09676eb1e6fda927bf0
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">
3 <head>
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; }
11 :lang(en) {
12 color: green;
14 :lang(FR) {
15 color: green;
18 /* test for ASCII (not UNICODE) case-insensitivity */
19 .test-unicode { color: green; }
20 :lang() {
21 color: red;
23 :lang() {
24 color: red;
26 :lang(&#x212a;l) {
27 color: red;
29 </style>
31 </head>
32 <body>
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>
38 </div>
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>
44 </div>
45 </body>
46 </html>