Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: LayoutTests/fast/css/case-sensitive-004.xhtml

Issue 1129313003: Compare :lang value case-insensitive in ASCII range (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use EXPECT instead of ASSERT Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/css/case-sensitive-004-expected.xhtml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/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.ne t/"/>
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; }
10
11 :lang(en) {
12 color: green;
13 }
14 :lang(FR) {
15 color: green;
16 }
17
18 /* test for ASCII (not UNICODE) case-insensitivity */
19 .test-unicode { color: green; }
20 :lang(fİ) {
21 color: red;
22 }
23 :lang(Fı) {
24 color: red;
25 }
26 :lang(&#x212a;l) {
27 color: red;
28 }
29 </style>
30
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>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/case-sensitive-004-expected.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698