layout/reftests/svg/as-image/background-scale-no-viewbox-1.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 <html reftest-zoom="2.0">
     3 <head>
     4   <style>
     5     div {
     6       background-color: yellow;
     7       background-image: url("white-rect-no-viewbox.svg");
     8       width: 6px;
     9       height: 30px;
    10     }
    11     body {
    12       background-color: black;
    13       margin:  0px;
    14       padding: 0px;
    15       border:  0px;
    16     }
    17   </style>
    18 </head>
    19 <body>
    20   <div></div>
    21 </body>
    22 </html>

mercurial