layout/reftests/w3c-css/received/css3-namespace/scope-002.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.

     1 <html xmlns="http://www.w3.org/1999/xhtml">
     2  <head>
     3   <link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
     4   <link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
     5   <link rel="help" href="http://www.w3.org/TR/css3-namespace/#scope"/>
     6   <link rel="match" href="reftest/ref-lime-1.xml"/>
     7   <title>CSS Namespaces Test Suite: scope @import</title>
     8   <style>
     9    test { background:lime }
    10   </style>
    11   <style>
    12    @import url("support/scope-002a.css");
    13    @import url("support/scope-002b.css");
    14    @namespace w "test";
    15    x|test { background:red }
    16   </style>
    17  </head>
    18  <body>
    19   <p><test xmlns="test">This sentence should have a green background.</test></p>
    20  </body>
    21 </html>

mercurial