layout/reftests/outline/outline-overflow-inlineblock-float.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 <title>outline goes around overflow, floats</title>
     3 <style>
     5 html, body { margin: 0; padding: 0; border: none }
     6 html { overflow:hidden /* avoid second reflow for scrollbars */ }
     8 body > div { margin: 100px; outline: 2px solid blue; display: inline-block; height: 0; width: 0 }
    10 body > div > div { float: left; width: 100px; height: 100px }
    12 </style>
    13 <body>
    14 <div><div></div></div>

mercurial