Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 <?xml version="1.0"?>
2 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
3 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
4 type="text/css"?>
6 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
7 title="Accessible XUL groupbox hierarchy tests">
9 <script type="application/javascript"
10 src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
12 <script type="application/javascript"
13 src="../common.js" />
14 <script type="application/javascript"
15 src="../role.js" />
17 <script type="application/javascript">
18 <![CDATA[
19 ////////////////////////////////////////////////////////////////////////////
20 // Test
22 function doTest()
23 {
24 var accTree =
25 { GROUPING: [
26 { LABEL: [
27 { TEXT_LEAF: [ ] }
28 ] },
29 { CHECKBUTTON: [ ] }
30 ] };
31 testAccessibleTree("groupbox", accTree);
33 SimpleTest.finish()
34 }
36 SimpleTest.waitForExplicitFinish();
37 addA11yLoadEvent(doTest);
38 ]]>
39 </script>
41 <hbox flex="1" style="overflow: auto;">
42 <body xmlns="http://www.w3.org/1999/xhtml">
43 <a target="_blank"
44 href="https://bugzilla.mozilla.org/show_bug.cgi?id=342045"
45 title="Fix O(n^2) access to all the children of a container">
46 Mozilla Bug 342045
47 </a><br/>
48 <p id="display"></p>
49 <div id="content" style="display: none">
50 </div>
51 <pre id="test">
52 </pre>
53 </body>
55 <vbox flex="1">
56 <groupbox id="groupbox">
57 <caption label="Some caption" />
58 <checkbox label="some checkbox label" />
59 </groupbox>
60 </vbox>
61 </hbox>
63 </window>