summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/261826-1.xhtml
blob: 649b2cb6ba55e54f4265f302f4dfc13c91fb345a (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
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://global/skin/global.css" 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>