layout/reftests/table-anonymous-boxes/white-space-11.html

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 <!DOCTYPE HTML>
     2 <html class="reftest-wait">
     3   <head>
     4     <title>CSS 2.1 Test Suite: anonymous table boxes</title>
     5     <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
     6     <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
     7     <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes"/>
     8     <meta name="flags" content="dom" />
     9     <script>
    10       function doTest() {
    11         var t = document.getElementById("t1");
    12         t.parentNode.removeChild(t);
    13         t = document.getElementById("t2");
    14         t.parentNode.removeChild(t);
    15         document.documentElement.className = "";
    16       }
    17     </script>
    18   </head>
    19   <body onload="doTest()">
    20     <span>
    21       <span>a</span><span style="display: table-cell" id="t2">e</span>
    22       <span style="display: table-cell" id="t1">f</span><span>bc d</span>
    23     </span>
    24   </body>
    25 </html>

mercurial