layout/reftests/w3c-css/received/css3-namespace/syntax-011.xml

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 <html xmlns="http://www.w3.org/1999/xhtml">
michael@0 2 <head>
michael@0 3 <link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
michael@0 4 <link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
michael@0 5 <link rel="help" href="http://www.w3.org/TR/css3-namespace/#syntax"/>
michael@0 6 <link rel="match" href="reftest/ref-lime-6.xml"/>
michael@0 7 <title>CSS Namespaces Test Suite: string comparison (no URI resolving)</title>
michael@0 8 <style>
michael@0 9 @namespace url("http://example.com/");
michael@0 10 *|t { background:lime }
michael@0 11 t { background:red }
michael@0 12 </style>
michael@0 13 <style>
michael@0 14 @namespace url("http://example.com/");
michael@0 15 *|t2 { background:lime }
michael@0 16 t2 { background:red }
michael@0 17 </style>
michael@0 18 <style>
michael@0 19 @namespace url("HTTP://example.com/");
michael@0 20 *|t3 { background:lime }
michael@0 21 t3 { background:red }
michael@0 22 </style>
michael@0 23 <style>
michael@0 24 @namespace url("http://example.COM/");
michael@0 25 *|t4 { background:lime }
michael@0 26 t4 { background:red }
michael@0 27 </style>
michael@0 28 <style>
michael@0 29 @namespace url("%41");
michael@0 30 *|t5 { background:lime }
michael@0 31 t5 { background:red }
michael@0 32 </style>
michael@0 33 <style>
michael@0 34 @namespace url("A");
michael@0 35 *|t6 { background:lime }
michael@0 36 t6 { background:red }
michael@0 37 </style>
michael@0 38 </head>
michael@0 39 <body>
michael@0 40 <p><t xmlns="HTTP://example.com/">This sentence should have a green background.</t></p>
michael@0 41 <p><t2 xmlns="http://example.COM/">This sentence should have a green background.</t2></p>
michael@0 42 <p><t3 xmlns="http://example.com/">This sentence should have a green background.</t3></p>
michael@0 43 <p><t4 xmlns="http://example.com/">This sentence should have a green background.</t4></p>
michael@0 44 <p><t5 xmlns="A">This sentence should have a green background.</t5></p>
michael@0 45 <p><t6 xmlns="%41">This sentence should have a green background.</t6></p>
michael@0 46 </body>
michael@0 47 </html>

mercurial