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
|
<?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; }
]]></style>
<hbox>
<grid>
<rows>
<row>
<hbox style="background: rgb(0, 102, 153)" />
<hbox style="background: rgb(0, 102, 153)" />
<hbox style="background: rgb(0, 0, 153)" />
</row>
<row>
<hbox style="background: rgb(0, 102, 153)" />
<hbox style="background: rgb(0, 102, 153)" />
<hbox style="background: rgb(0, 0, 153)" />
</row>
<row>
<hbox style="background: rgb(0, 255, 0)" />
<hbox style="background: rgb(0, 255, 0)" />
<hbox style="background: rgb(0, 0, 0)" />
</row>
</rows>
</grid>
</hbox>
</window>
|