layout/reftests/box-shadow/boxshadow-button.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
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 <input type="button" id="a" value=""></input>
    24 <button id="b"></button>

mercurial