diff --git a/mozilla/webshell/tests/viewer/samples/treeTest1.css b/mozilla/webshell/tests/viewer/samples/treeTest1.css new file mode 100644 index 00000000000..945983fc327 --- /dev/null +++ b/mozilla/webshell/tests/viewer/samples/treeTest1.css @@ -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; +} \ No newline at end of file diff --git a/mozilla/webshell/tests/viewer/samples/treeTest1.xul b/mozilla/webshell/tests/viewer/samples/treeTest1.xul new file mode 100644 index 00000000000..60a1b200bf8 --- /dev/null +++ b/mozilla/webshell/tests/viewer/samples/treeTest1.xul @@ -0,0 +1,83 @@ + + + + + + + +Tree Test 1 + + +A simple tree view with things that can expand and collapse. Nothing fancy in this test. + + + + + + + Name + URL + Last Modified + + + + + + + + Mozilla Links + + + + + Tinderbox + http://cvs-mirror.mozilla.org/webtools/tinderbox + + + Bonsai + http://cvs-mirror.mozilla.org/webtools/bonsai + + + Mozilla.org + http://www.mozilla.org + + + Bugzilla + http://bugzilla.mozilla.org + + + + + + + + Test Links + + + + + Tinderbox + http://cvs-mirror.mozilla.org/webtools/tinderbox + + + Bonsai + http://cvs-mirror.mozilla.org/webtools/bonsai + + + Mozilla.org + http://www.mozilla.org + + + Bugzilla + http://bugzilla.mozilla.org + + + + + + + + + + \ No newline at end of file