1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/metro/base/tests/mochitest/browser_tilegrid.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,86 @@ 1.4 +<?xml version="1.0"?> 1.5 + 1.6 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.7 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.9 + 1.10 +<?xml-stylesheet href="chrome://browser/skin/platform.css" type="text/css"?> 1.11 +<?xml-stylesheet href="chrome://browser/skin/browser.css" type="text/css"?> 1.12 +<?xml-stylesheet href="chrome://browser/content/bindings.css" type="text/css"?> 1.13 +<?xml-stylesheet href="chrome://browser/skin/tiles.css" type="text/css"?> 1.14 +<!DOCTYPE window []> 1.15 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 1.16 + <vbox id="alayout"> 1.17 + <richgrid id="grid_layout" seltype="single" nocontext="true" flex="1"> 1.18 + </richgrid> 1.19 + </vbox> 1.20 + <vbox> 1.21 + <richgrid id="slots_grid" seltype="single" minSlots="6" flex="1"/> 1.22 + </vbox> 1.23 + <vbox style="height:600px"> 1.24 + <hbox> 1.25 + <richgrid id="clearGrid" seltype="single" nocontext="true" flex="1" rows="2"> 1.26 + <richgriditem value="about:blank" id="clearGrid_item1" label="First item"/> 1.27 + <richgriditem value="about:blank" id="clearGrid_item2" label="2nd item"/> 1.28 + <richgriditem value="about:blank" id="clearGrid_item1" label="First item"/> 1.29 + </richgrid> 1.30 + </hbox> 1.31 + <hbox> 1.32 + <richgrid id="emptyGrid" seltype="single" flex="1" rows="2" minSlots="6"> 1.33 + </richgrid> 1.34 + </hbox> 1.35 + <hbox> 1.36 + <richgrid id="grid1" seltype="single" flex="1"> 1.37 + <richgriditem value="about:blank" id="grid1_item1" label="First item"/> 1.38 + <richgriditem value="about:blank" id="grid1_item2" label="2nd item"/> 1.39 + </richgrid> 1.40 + </hbox> 1.41 + <hbox> 1.42 + <richgrid id="emptygrid" seltype="single" flex="1"/> 1.43 + </hbox> 1.44 + <hbox> 1.45 + <richgrid id="grid2" seltype="single" flex="1"> 1.46 + <richgriditem value="about:blank" id="grid2_item1" label="First item"/> 1.47 + <richgriditem value="about:blank" id="grid2_item2" label="2nd item"/> 1.48 + </richgrid> 1.49 + </hbox> 1.50 + <hbox> 1.51 + <richgrid id="grid3" seltype="single" flex="1"> 1.52 + <richgriditem value="about:blank" id="grid3_item1" label="First item"/> 1.53 + <richgriditem value="about:blank" id="grid3_item2" label="2nd item"/> 1.54 + </richgrid> 1.55 + </hbox> 1.56 + <hbox> 1.57 + <richgrid id="grid4" seltype="single" flex="1"> 1.58 + <richgriditem value="about:blank" id="grid4_item1" label="First item"/> 1.59 + <richgriditem value="about:blank" id="grid4_item2" label="2nd item"/> 1.60 + </richgrid> 1.61 + </hbox> 1.62 + <hbox> 1.63 + <richgrid id="grid5" seltype="single" flex="1"> 1.64 + <richgriditem value="about:blank" id="grid5_item1" label="First item"/> 1.65 + <richgriditem value="http://bugzilla.mozilla.org/" id="grid5_item2" label="2nd item"/> 1.66 + <richgriditem value="about:blank" id="grid5_item3" label="3rd item"/> 1.67 + <richgriditem value="http://bugzilla.mozilla.org/" id="grid5_item4" label="4th item"/> 1.68 + </richgrid> 1.69 + </hbox> 1.70 + <hbox> 1.71 + <richgrid id="grid6" seltype="single" flex="1"> 1.72 + <richgriditem value="about:blank" id="grid6_item1" label="First item"/> 1.73 + </richgrid> 1.74 + </hbox> 1.75 + <hbox> 1.76 + <richgrid id="grid-select1" seltype="single" flex="1"> 1.77 + <richgriditem value="about:blank" id="grid-select1_item1" label="First item"/> 1.78 + <richgriditem value="about:blank" id="grid-select1_item2" label="2nd item"/> 1.79 + </richgrid> 1.80 + </hbox> 1.81 + <hbox> 1.82 + <richgrid id="grid-select2" seltype="multiple" flex="1"> 1.83 + <richgriditem value="about:blank" id="grid-select2_item1" label="First item"/> 1.84 + <richgriditem value="about:blank" id="grid-select2_item2" label="2nd item"/> 1.85 + </richgrid> 1.86 + </hbox> 1.87 + </vbox> 1.88 +</window> 1.89 +