layout/xul/grid/reftests/scrollable-columns.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 grid { width: 200px; height: 200px; }
michael@0 9 columns { overflow: auto; }
michael@0 10 ]]></style>
michael@0 11 <hbox>
michael@0 12 <grid>
michael@0 13 <columns>
michael@0 14 <column style="background: rgb(0, 255, 0)">
michael@0 15 <hbox />
michael@0 16 <hbox />
michael@0 17 <hbox />
michael@0 18 </column>
michael@0 19 <column>
michael@0 20 <hbox style="background: rgb(0, 255, 0)" />
michael@0 21 <hbox style="background: rgb(0, 255, 0)" />
michael@0 22 <hbox style="background: rgb(0, 255, 0)" />
michael@0 23 </column>
michael@0 24 <column>
michael@0 25 <hbox />
michael@0 26 <hbox />
michael@0 27 <hbox />
michael@0 28 </column>
michael@0 29 </columns>
michael@0 30 <rows>
michael@0 31 <row style="background: rgba(0, 0, 255, 0.6)">
michael@0 32 <hbox />
michael@0 33 <hbox />
michael@0 34 <hbox />
michael@0 35 </row>
michael@0 36 <row>
michael@0 37 <hbox style="background: rgba(0, 0, 255, 0.6)" />
michael@0 38 <hbox style="background: rgba(0, 0, 255, 0.6)" />
michael@0 39 <hbox style="background: rgba(0, 0, 255, 0.6)" />
michael@0 40 </row>
michael@0 41 <row>
michael@0 42 <hbox />
michael@0 43 <hbox />
michael@0 44 <hbox />
michael@0 45 </row>
michael@0 46 </rows>
michael@0 47 </grid>
michael@0 48 </hbox>
michael@0 49 </window>

mercurial