layout/reftests/bugs/416106-1.xhtml

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

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

mercurial