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.

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

mercurial