layout/xul/grid/reftests/not-full-row-leaf-align.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.

michael@0 1 <?xml version="1.0"?>
michael@0 2 <!DOCTYPE window>
michael@0 3 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
michael@0 4 title="XUL Grid Test">
michael@0 5 <style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
michael@0 6 window { background: black; }
michael@0 7 hbox { height: 100px; width: 100px; }
michael@0 8 row, column { -moz-box-align: start; }
michael@0 9 ]]></style>
michael@0 10 <grid flex="1">
michael@0 11 <columns>
michael@0 12 <column style="background: rgb(0, 255, 0)">
michael@0 13 <hbox />
michael@0 14 <hbox />
michael@0 15 <hbox />
michael@0 16 </column>
michael@0 17 <column>
michael@0 18 <hbox style="background: rgb(0, 255, 0)" />
michael@0 19 <hbox style="background: rgb(0, 255, 0)" />
michael@0 20 <hbox style="background: rgb(0, 255, 0)" />
michael@0 21 </column>
michael@0 22 <column>
michael@0 23 <hbox />
michael@0 24 <hbox />
michael@0 25 <hbox />
michael@0 26 </column>
michael@0 27 </columns>
michael@0 28 <rows>
michael@0 29 <row style="background: rgba(0, 0, 255, 0.6)">
michael@0 30 <hbox />
michael@0 31 <hbox />
michael@0 32 <hbox />
michael@0 33 </row>
michael@0 34 <row>
michael@0 35 <hbox style="background: rgba(0, 0, 255, 0.6)" />
michael@0 36 <hbox style="background: rgba(0, 0, 255, 0.6)" />
michael@0 37 <hbox style="background: rgba(0, 0, 255, 0.6)" />
michael@0 38 </row>
michael@0 39 <row>
michael@0 40 <hbox />
michael@0 41 <hbox />
michael@0 42 <hbox />
michael@0 43 </row>
michael@0 44 </rows>
michael@0 45 </grid>
michael@0 46 </window>

mercurial