layout/reftests/box-shadow/boxshadow-button-ref.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 <style>
     3 #a, #b {
     4   width: 100px;
     5   height: 100px;
     6   background-color: grey;
     7   -moz-appearance: none;
     8   box-shadow: 4px 4px 3px black;
     9   border: none !important;
    10   position: absolute;
    11 }
    13 #a {
    14   top: 20px;
    15   left: 20px;
    16 }
    18 #b {
    19   top: 170px;
    20   left: 20px;
    21 </style>
    23 <div id="a">&nbsp;</div>
    24 <div id="b">&nbsp;</div>

mercurial