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

     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     <!-- does anybody actually *want* the way columns align="start" behaves here? -->
    11     <columns align="start">
    12       <column style="background: rgb(0, 255, 0)">
    13         <hbox />
    14         <hbox />
    15         <hbox />
    16       </column>
    17       <column>
    18         <hbox style="background: rgb(0, 255, 0)" />
    19         <hbox style="background: rgb(0, 255, 0)" />
    20         <hbox style="background: rgb(0, 255, 0)" />
    21       </column>
    22       <column>
    23         <hbox />
    24         <hbox />
    25         <hbox />
    26       </column>
    27     </columns>
    28     <rows align="start">
    29       <row style="background: rgba(0, 0, 255, 0.6)">
    30         <hbox />
    31         <hbox />
    32         <hbox />
    33       </row>
    34       <row>
    35         <hbox style="background: rgba(0, 0, 255, 0.6)" />
    36         <hbox style="background: rgba(0, 0, 255, 0.6)" />
    37         <hbox style="background: rgba(0, 0, 255, 0.6)" />
    38       </row>
    39       <row>
    40         <hbox />
    41         <hbox />
    42         <hbox />
    43       </row>
    44     </rows>
    45   </grid>
    46 </window>

mercurial