layout/reftests/xul/tree-row-outline-1.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 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
     4 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     5         xmlns:html="http://www.w3.org/1999/xhtml"
     6         >
     8   <html:style>
     9     <![CDATA[
    11       treechildren::-moz-tree-row(odd) {
    12         outline: 2px solid blue;
    13         outline-offset: -2px;
    14       }
    16     ]]>
    17   </html:style>
    19   <tree seltype="single" flex="1">
    20     <treecols>
    21       <treecol flex="1"/>
    22       <treecol flex="1"/>
    23     </treecols>
    24     <treechildren>
    25       <treeitem><treerow><treecell label="One"/><treecell label="Two"/></treerow></treeitem>
    26       <treeitem><treerow><treecell label="One"/><treecell label="Two"/></treerow></treeitem>
    27       <treeitem><treerow><treecell label="One"/><treecell label="Two"/></treerow></treeitem>
    28     </treechildren>
    29   </tree>
    31 </window>

mercurial