| 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="../fast/js/resources/js-test-pre.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> |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 shouldBeTrue("parent.childAtIndex(0).isEqual(button3)"); | 47 shouldBeTrue("parent.childAtIndex(0).isEqual(button3)"); |
| 48 | 48 |
| 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 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 58 </body> | 57 </body> |
| 59 </html> | 58 </html> |
| OLD | NEW |