layout/xul/grid/reftests/scrollable-rows.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/xul/grid/reftests/scrollable-rows.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,49 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<!DOCTYPE window>
     1.6 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     1.7 +        title="XUL Grid Test">
     1.8 +  <style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
     1.9 +    window { background: black; }
    1.10 +    hbox { height: 100px; width: 100px; }
    1.11 +    grid { width: 200px; height: 200px; }
    1.12 +    rows { overflow: auto; }
    1.13 +  ]]></style>
    1.14 +  <hbox>
    1.15 +    <grid>
    1.16 +      <columns>
    1.17 +        <column style="background: rgb(0, 255, 0)">
    1.18 +          <hbox />
    1.19 +          <hbox />
    1.20 +          <hbox />
    1.21 +        </column>
    1.22 +        <column>
    1.23 +          <hbox style="background: rgb(0, 255, 0)" />
    1.24 +          <hbox style="background: rgb(0, 255, 0)" />
    1.25 +          <hbox style="background: rgb(0, 255, 0)" />
    1.26 +        </column>
    1.27 +        <column>
    1.28 +          <hbox />
    1.29 +          <hbox />
    1.30 +          <hbox />
    1.31 +        </column>
    1.32 +      </columns>
    1.33 +      <rows>
    1.34 +        <row style="background: rgba(0, 0, 255, 0.6)">
    1.35 +          <hbox />
    1.36 +          <hbox />
    1.37 +          <hbox />
    1.38 +        </row>
    1.39 +        <row>
    1.40 +          <hbox style="background: rgba(0, 0, 255, 0.6)" />
    1.41 +          <hbox style="background: rgba(0, 0, 255, 0.6)" />
    1.42 +          <hbox style="background: rgba(0, 0, 255, 0.6)" />
    1.43 +        </row>
    1.44 +        <row>
    1.45 +          <hbox />
    1.46 +          <hbox />
    1.47 +          <hbox />
    1.48 +        </row>
    1.49 +      </rows>
    1.50 +    </grid>
    1.51 +  </hbox>
    1.52 +</window>

mercurial