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

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

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-5.xml"/>
michael@0 7 <title>CSS Namespaces Test Suite: @namespace default namespace syntax</title>
michael@0 8 <style>
michael@0 9 *|test { background:red }
michael@0 10 </style>
michael@0 11 <style>
michael@0 12 @namespace url(test-a);
michael@0 13 test { background:lime }
michael@0 14 </style>
michael@0 15 <style>
michael@0 16 @namespace url('test-b');
michael@0 17 test { background:lime }
michael@0 18 </style>
michael@0 19 <style>
michael@0 20 @namespace url("test-c");
michael@0 21 test { background:lime }
michael@0 22 </style>
michael@0 23 <style>
michael@0 24 @namespace 'test-d';
michael@0 25 test { background:lime }
michael@0 26 </style>
michael@0 27 <style>
michael@0 28 @namespace "test-e";
michael@0 29 test { background:lime }
michael@0 30 </style>
michael@0 31 </head>
michael@0 32 <body>
michael@0 33 <p><test xmlns="test-a">This sentence should have a green background.</test></p>
michael@0 34 <p><test xmlns="test-b">This sentence should have a green background.</test></p>
michael@0 35 <p><test xmlns="test-c">This sentence should have a green background.</test></p>
michael@0 36 <p><test xmlns="test-d">This sentence should have a green background.</test></p>
michael@0 37 <p><test xmlns="test-e">This sentence should have a green background.</test></p>
michael@0 38 </body>
michael@0 39 </html>

mercurial