layout/xul/grid/examples/bordermargincolumns1.xul

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
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 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     3    - License, v. 2.0. If a copy of the MPL was not distributed with this
     4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
     8 <?xml-stylesheet href="gridsample.css" type="text/css"?> 
    10 <!DOCTYPE window> 
    13 <window orient="vertical"
    14         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    16   <hbox>
    17     <grid style="border: 2px inset gray;" id="grid">
    18 	   <columns>
    19   	      <column style="border: 10px inset red; margin: 10px; "/>
    20   	      <column/>
    21   	      <column/>
    22        </columns>
    24        <rows style="font-size: 40pt;">
    25 	     <row style="border: 5px solid green">
    26 		   <text value="Cell 1"/>
    27 		   <text value="Cell 2"/>
    28 		   <text value="Cell 3"/>
    29 		 </row>
    30 	     <row>
    31 		   <text value="Cell 4"/>
    32 		   <text value="Cell 5"/>
    33 		   <text value="Cell 6"/>
    34 		 </row>
    35 	     <row>
    36 		   <text value="Cell 7"/>
    37 		   <text value="Cell 8"/>
    38 		   <text value="Cell 9"/>
    39 		 </row>
    41 	   </rows>
    42 	</grid>
    43   </hbox>
    44 </window>

mercurial