layout/reftests/margin-collapsing/block-xhtml-root-1b.xhtml

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 <root>
     2 <html xmlns="http://www.w3.org/1999/xhtml">
     3 <head>
     4  <style type="text/css">
     5  root, html, body {
     6   display: block;
     7   margin: 0; padding: 0;
     8  }
     9  root {
    10   margin: 20px 0;
    11  }
    12  body {
    13   background-color: green;
    14   margin: 10px 0;
    15   height: 100px;
    16  }
    17  </style>
    18 </head>
    19 <body>
    20 </body>
    21 </html>
    22 </root>

mercurial