layout/reftests/bugs/261826-1.xul

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     3 <window id="MyWindow"
     4 	title=""
     5 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     6 	width="800"
     7 	height="600"
     8 	onload="revealTab()">
    10 <script type="application/x-javascript">
    11 	function revealTab(){
    12 		document.getElementById("fourthTab").setAttribute("hidden", "false");
    13 		}
    14 </script>
    16 <tabbox>
    17 	<tabs>
    18 		<tab label="first"/>
    19 		<tab label="second"/>
    20 		<tab label="third"/>
    21 		<tab id="fourthTab" label="fourth" hidden="true"/>
    22 	</tabs>
    23 	<tabpanels>
    24 		<tabpanel>
    25 			<label value="First page"/>
    26 		</tabpanel>
    27 		<tabpanel>
    28 			<label value="second page"/>
    29 		</tabpanel>
    30 		<tabpanel>
    31 			<label value="third page"/>
    32 		</tabpanel>
    33 		<tabpanel>
    34 			<label value="fourth page"/>
    35 		</tabpanel>
    36 	</tabpanels>
    37 </tabbox>
    38 </window>

mercurial