|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
|
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|
4 <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> |
|
5 <head> |
|
6 <title>Namespace identifiers should be case sensitive (bug 416106)</title> |
|
7 <style type="text/css"> |
|
8 @namespace foo url(http://www.example.com/1); |
|
9 @namespace Foo url(http://www.example.com/2); |
|
10 @namespace fOO url(http://www.example.com/3); |
|
11 |
|
12 foo|one { color: green; } |
|
13 Foo|two { color: green; } |
|
14 fOO|three { color: green; } |
|
15 |
|
16 Foo|one { color: red; } |
|
17 fOO|one { color: red; } |
|
18 foo|two { color: red; } |
|
19 fOO|two { color: red; } |
|
20 foo|three { color: red; } |
|
21 Foo|three { color: red; } |
|
22 |
|
23 div[foo|one] { color: green; } |
|
24 div[Foo|two] { color: green; } |
|
25 div[fOO|three] { color: green; } |
|
26 |
|
27 div[Foo|one] { color: red; } |
|
28 div[fOO|one] { color: red; } |
|
29 div[foo|two] { color: red; } |
|
30 div[fOO|two] { color: red; } |
|
31 div[foo|three] { color: red; } |
|
32 div[Foo|three] { color: red; } |
|
33 |
|
34 div#gencon { color: black; } |
|
35 div#gencon:before { content: attr(foo|one) attr(Foo|two) attr(fOO|three); } |
|
36 |
|
37 </style> |
|
38 </head> |
|
39 <body xmlns:one="http://www.example.com/1" |
|
40 xmlns:two="http://www.example.com/2" |
|
41 xmlns:three="http://www.example.com/3"> |
|
42 |
|
43 <div><one:one>This should be green.</one:one></div> |
|
44 <div><two:two>This should be green.</two:two></div> |
|
45 <div><three:three>This should be green.</three:three></div> |
|
46 <div one:one="true">This should be green.</div> |
|
47 <div two:two="true">This should be green.</div> |
|
48 <div three:three="true">This should be green.</div> |
|
49 |
|
50 <div id="gencon" |
|
51 one:one="pass" one:two="fail" one:three="fail" |
|
52 two:one="fail" two:two="pass" two:three="fail" |
|
53 three:one="fail" three:two="fail" three:three="pass"></div> |
|
54 |
|
55 </body> |
|
56 </html> |