OLD | NEW |
1 <html> | 1 <html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body id="body"> | 6 <body id="body"> |
7 | 7 |
8 <div role="group" tabindex="0" id="parent"> | 8 <div role="group" tabindex="0" id="parent"> |
9 <div role="button" id="button1" tabindex="0">Button 1</div> | 9 <div role="button" id="button1" tabindex="0">Button 1</div> |
10 <div role="button" id="button2" tabindex="0">Button 2</div> | 10 <div role="button" id="button2" tabindex="0">Button 2</div> |
11 <div role="button" id="button3" tabindex="0">Button 3</div> | 11 <div role="button" id="button3" tabindex="0">Button 3</div> |
12 | 12 |
13 </div> | 13 </div> |
14 | 14 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 // Make the 2nd button not hidden. 2 and 3 should be present. | 49 // Make the 2nd button not hidden. 2 and 3 should be present. |
50 document.getElementById("button2").setAttribute("aria-hidden", "fals
e"); | 50 document.getElementById("button2").setAttribute("aria-hidden", "fals
e"); |
51 shouldBeTrue("parent.childAtIndex(0).isEqual(button2)"); | 51 shouldBeTrue("parent.childAtIndex(0).isEqual(button2)"); |
52 shouldBeTrue("parent.childAtIndex(1).isEqual(button3)"); | 52 shouldBeTrue("parent.childAtIndex(1).isEqual(button3)"); |
53 | 53 |
54 } | 54 } |
55 </script> | 55 </script> |
56 | 56 |
57 </body> | 57 </body> |
58 </html> | 58 </html> |
OLD | NEW |