summaryrefslogtreecommitdiffstats
path: root/layout/xul/grid/reftests/not-full-row-group-direction.xul
blob: c38db40a5e96f1bbe753e4a0c1e74e2d01f40331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0"?>
<!DOCTYPE window>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        title="XUL Grid Test">
  <style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
    window { background: black; }
    hbox { height: 100px; width: 100px; }
    rows, columns { -moz-box-direction: reverse; }
  ]]></style>
  <grid flex="1">
    <columns>
      <column style="background: rgb(0, 255, 0)">
        <hbox />
        <hbox />
        <hbox />
      </column>
      <column>
        <hbox style="background: rgb(0, 255, 0)" />
        <hbox style="background: rgb(0, 255, 0)" />
        <hbox style="background: rgb(0, 255, 0)" />
      </column>
      <column>
        <hbox />
        <hbox />
        <hbox />
      </column>
    </columns>
    <rows>
      <row style="background: rgba(0, 0, 255, 0.6)">
        <hbox />
        <hbox />
        <hbox />
      </row>
      <row>
        <hbox style="background: rgba(0, 0, 255, 0.6)" />
        <hbox style="background: rgba(0, 0, 255, 0.6)" />
        <hbox style="background: rgba(0, 0, 255, 0.6)" />
      </row>
      <row>
        <hbox />
        <hbox />
        <hbox />
      </row>
    </rows>
  </grid>
</window>