layout/xul/reftest/image-scaling-min-height-1.xul

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 <?xml version="1.0"?>
     2 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     3         xmlns:html="http://www.w3.org/1999/xhtml">
     4 <html:style><![CDATA[
     6 window { -moz-box-align: start; -moz-box-pack: start }
     7 hbox { background: yellow }
     8 image { background: blue; min-width: 15px; min-height: 15px }
    10 ]]></html:style>
    12 <hbox><image /><label value="a b c d e f" /></hbox>
    14 </window>

mercurial