layout/reftests/margin-collapsing/block-xhtml-root-2.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  html {
    10   background-color: lightgreen;
    11   margin: 20px 0;
    12  }
    13  body {
    14   background-color: green;
    15   margin: 10px 0;
    16   height: 100px;
    17  }
    18  </style>
    19 </head>
    20 <body>
    21 </body>
    22 </html>
    23 </root>

mercurial