layout/reftests/image-element/bug-463204.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.

michael@0 1 <!--
michael@0 2 Any copyright is dedicated to the Public Domain.
michael@0 3 http://creativecommons.org/licenses/publicdomain/
michael@0 4
michael@0 5 bug 463204
michael@0 6 -->
michael@0 7 <html>
michael@0 8 <head>
michael@0 9 <style>
michael@0 10 span {
michael@0 11 background-image: -moz-element(#g);
michael@0 12 display: inline-block;
michael@0 13 margin-left: 0.6px;
michael@0 14 }
michael@0 15 #repeat {
michael@0 16 width: 38px;
michael@0 17 height: 38px;
michael@0 18 background-repeat: repeat;
michael@0 19 }
michael@0 20 #norepeat {
michael@0 21 width: 19px;
michael@0 22 height: 19px;
michael@0 23 background-repeat: no-repeat;
michael@0 24 background-position: center center;
michael@0 25 }
michael@0 26 </style>
michael@0 27 </head>
michael@0 28 <body>
michael@0 29 <span id="repeat"></span><br/>
michael@0 30 <span id="norepeat"></span>
michael@0 31 <div style="overflow:hidden; height:0px">
michael@0 32 <div id="g" style="width:17px; height:17px; border:1px solid red;
michael@0 33 background: orange;"></div>
michael@0 34 </div>
michael@0 35 </body>
michael@0 36 </html>

mercurial