layout/xul/grid/reftests/not-full-basic.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   ]]></style>
     9   <grid flex="1">
    10     <columns>
    11       <column style="background: rgb(0, 255, 0)">
    12         <hbox />
    13         <hbox />
    14         <hbox />
    15       </column>
    16       <column>
    17         <hbox style="background: rgb(0, 255, 0)" />
    18         <hbox style="background: rgb(0, 255, 0)" />
    19         <hbox style="background: rgb(0, 255, 0)" />
    20       </column>
    21       <column>
    22         <hbox />
    23         <hbox />
    24         <hbox />
    25       </column>
    26     </columns>
    27     <rows>
    28       <row style="background: rgba(0, 0, 255, 0.6)">
    29         <hbox />
    30         <hbox />
    31         <hbox />
    32       </row>
    33       <row>
    34         <hbox style="background: rgba(0, 0, 255, 0.6)" />
    35         <hbox style="background: rgba(0, 0, 255, 0.6)" />
    36         <hbox style="background: rgba(0, 0, 255, 0.6)" />
    37       </row>
    38       <row>
    39         <hbox />
    40         <hbox />
    41         <hbox />
    42       </row>
    43     </rows>
    44   </grid>
    45 </window>

mercurial