gecko/browser/metro/base/tests/mochitest/browser_tilegrid.xul
2013-06-26 21:54:06 -07:00

87 lines
3.5 KiB
XML

<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<?xml-stylesheet href="chrome://browser/skin/platform.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/browser.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/tiles.css" type="text/css"?>
<!DOCTYPE window []>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<vbox id="alayout">
<richgrid id="grid_layout" seltype="single" flex="1">
</richgrid>
</vbox>
<vbox style="height:600px">
<hbox>
<richgrid id="clearGrid" seltype="single" flex="1" rows="2">
<richgriditem value="about:blank" id="clearGrid_item1" label="First item"/>
<richgriditem value="about:blank" id="clearGrid_item2" label="2nd item"/>
<richgriditem value="about:blank" id="clearGrid_item1" label="First item"/>
</richgrid>
</hbox>
<hbox>
<richgrid id="emptyGrid" seltype="single" flex="1" rows="2">
</richgrid>
</hbox>
<hbox>
<richgrid id="grid1" seltype="single" flex="1">
<richgriditem value="about:blank" id="grid1_item1" label="First item"/>
<richgriditem value="about:blank" id="grid1_item2" label="2nd item"/>
</richgrid>
</hbox>
<hbox>
<richgrid id="emptygrid" seltype="single" flex="1"/>
</hbox>
<hbox>
<richgrid id="grid2" seltype="single" flex="1">
<richgriditem value="about:blank" id="grid2_item1" label="First item"/>
<richgriditem value="about:blank" id="grid2_item2" label="2nd item"/>
</richgrid>
</hbox>
<hbox>
<richgrid id="grid3" seltype="single" flex="1">
<richgriditem value="about:blank" id="grid3_item1" label="First item"/>
<richgriditem value="about:blank" id="grid3_item2" label="2nd item"/>
</richgrid>
</hbox>
<hbox>
<richgrid id="grid4" seltype="single" flex="1">
<richgriditem value="about:blank" id="grid4_item1" label="First item"/>
<richgriditem value="about:blank" id="grid4_item2" label="2nd item"/>
</richgrid>
</hbox>
<hbox>
<richgrid id="grid5" seltype="single" flex="1">
<richgriditem value="about:blank" id="grid5_item1" label="First item"/>
<richgriditem value="http://bugzilla.mozilla.org/" id="grid5_item2" label="2nd item"/>
<richgriditem value="about:blank" id="grid5_item3" label="3rd item"/>
<richgriditem value="http://bugzilla.mozilla.org/" id="grid5_item4" label="4th item"/>
</richgrid>
</hbox>
<hbox>
<richgrid id="grid6" seltype="single" flex="1">
<richgriditem value="about:blank" id="grid6_item1" label="First item"/>
</richgrid>
</hbox>
<hbox>
<richgrid id="grid-select1" seltype="single" flex="1">
<richgriditem value="about:blank" id="grid-select1_item1" label="First item"/>
<richgriditem value="about:blank" id="grid-select1_item2" label="2nd item"/>
</richgrid>
</hbox>
<hbox>
<richgrid id="grid-select2" seltype="multiple" flex="1">
<richgriditem value="about:blank" id="grid-select2_item1" label="First item"/>
<richgriditem value="about:blank" id="grid-select2_item2" label="2nd item"/>
</richgrid>
</hbox>
</vbox>
</window>