summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/261826-1.xul
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/261826-1.xul')
-rw-r--r--layout/reftests/bugs/261826-1.xul38
1 files changed, 38 insertions, 0 deletions
diff --git a/layout/reftests/bugs/261826-1.xul b/layout/reftests/bugs/261826-1.xul
new file mode 100644
index 000000000..ce255ad08
--- /dev/null
+++ b/layout/reftests/bugs/261826-1.xul
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+<window id="MyWindow"
+ title=""
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ width="800"
+ height="600"
+ onload="revealTab()">
+
+<script type="application/x-javascript">
+ function revealTab(){
+ document.getElementById("fourthTab").setAttribute("hidden", "false");
+ }
+</script>
+
+<tabbox>
+ <tabs>
+ <tab label="first"/>
+ <tab label="second"/>
+ <tab label="third"/>
+ <tab id="fourthTab" label="fourth" hidden="true"/>
+ </tabs>
+ <tabpanels>
+ <tabpanel>
+ <label value="First page"/>
+ </tabpanel>
+ <tabpanel>
+ <label value="second page"/>
+ </tabpanel>
+ <tabpanel>
+ <label value="third page"/>
+ </tabpanel>
+ <tabpanel>
+ <label value="fourth page"/>
+ </tabpanel>
+ </tabpanels>
+</tabbox>
+</window> \ No newline at end of file