First Checked In.

git-svn-id: svn://10.0.0.236/trunk@23370 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pinkerton%netscape.com
1999-03-09 21:53:01 +00:00
parent 79e4108e56
commit 54b3b30385
2 changed files with 132 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
window {
display: block;
width: 100%;
}
tree {
display: table;
background-color: lightGray;
border: none;
border-spacing: 0px;
border-collapse: collapse;
width: 75%;
}
treeitem {
display: table-row;
}
treehead {
display: table-header-group;
}
treebody {
display: table-row-group;
}
treecell {
display: table-cell;
color: black;
font-family: Verdana;
font-size: 10pt;
}
treehead treeitem treecell {
background-color: #a0a0a0;
border: thin black solid;
color: black;
}
treeicon {
display: list-item;
list-style-image: url("http://rava/~hyatt/ClosedRead.gif");
list-style-position: inside;
}
treecell[selectedcell] {
background-color: lightBlue;
}

View File

@@ -0,0 +1,83 @@
<?xml version="1.0"?>
<?xml-stylesheet href="treeTest1.css" type="text/css"?>
<!DOCTYPE window>
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<html:h1>Tree Test 1</html:h1>
<html:h3>
A simple tree view with things that can expand and collapse. Nothing fancy in this test.
</html:h3>
<html:hr/>
<tree>
<treehead>
<treeitem>
<treecell>Name</treecell>
<treecell>URL</treecell>
<treecell>Last Modified</treecell>
</treeitem>
</treehead>
<treebody>
<treeitem>
<treecell><treeindentation/><treeicon>Mozilla Links</treeicon></treecell>
<treecell></treecell>
<treechildren>
<treeitem>
<treecell><treeindentation/><html:img html:hspace="2" html:style="vertical-align: bottom" html:src="http://rava/~hyatt/PageRead.gif"/>Tinderbox</treecell>
<treecell>http://cvs-mirror.mozilla.org/webtools/tinderbox</treecell>
</treeitem>
<treeitem>
<treecell><treeindentation/><html:img html:hspace="2" html:style="vertical-align: bottom" html:src="http://rava/~hyatt/PageRead.gif"/>Bonsai</treecell>
<treecell>http://cvs-mirror.mozilla.org/webtools/bonsai</treecell>
</treeitem>
<treeitem>
<treecell><treeindentation/><html:img html:hspace="2" html:style="vertical-align: bottom" html:src="http://rava/~hyatt/PageRead.gif"/>Mozilla.org</treecell>
<treecell>http://www.mozilla.org</treecell>
</treeitem>
<treeitem>
<treecell><treeindentation/><html:img html:hspace="2" html:style="vertical-align: bottom" html:src="http://rava/~hyatt/PageRead.gif"/>Bugzilla</treecell>
<treecell>http://bugzilla.mozilla.org</treecell>
</treeitem>
</treechildren>
</treeitem>
<treeitem>
<treecell><treeindentation/><treeicon>Test Links</treeicon></treecell>
<treecell></treecell>
<treechildren>
<treeitem>
<treecell><treeindentation/><html:img html:hspace="2" html:style="vertical-align: bottom" html:src="http://rava/~hyatt/PageRead.gif"/>Tinderbox</treecell>
<treecell>http://cvs-mirror.mozilla.org/webtools/tinderbox</treecell>
</treeitem>
<treeitem>
<treecell><treeindentation/><html:img html:hspace="2" html:style="vertical-align: bottom" html:src="http://rava/~hyatt/PageRead.gif"/>Bonsai</treecell>
<treecell>http://cvs-mirror.mozilla.org/webtools/bonsai</treecell>
</treeitem>
<treeitem>
<treecell><treeindentation/><html:img html:hspace="2" html:style="vertical-align: bottom" html:src="http://rava/~hyatt/PageRead.gif"/>Mozilla.org</treecell>
<treecell>http://www.mozilla.org</treecell>
</treeitem>
<treeitem>
<treecell><treeindentation/><html:img html:hspace="2" html:style="vertical-align: bottom" html:src="http://rava/~hyatt/PageRead.gif"/>Bugzilla</treecell>
<treecell>http://bugzilla.mozilla.org</treecell>
</treeitem>
</treechildren>
</treeitem>
</treebody>
</tree>
</window>