OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
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> | 8 <div> |
9 <h1 id="heading">Steps</h1> | 9 <h1 id="heading">Steps</h1> |
10 | 10 |
11 <main id="main" tabindex=0> | 11 <main id="main" tabindex=0> |
12 test | 12 test |
13 <div tabindex="-1" class="step-one" aria-hidden="true"><span>Ste
p 1: Do something</span></div> | 13 <div tabindex="-1" class="step-one" aria-hidden="true"><span>Ste
p 1: Do something</span></div> |
14 <div tabindex="-1" class="step-two" aria-hidden="true"><span>Ste
p 2: Do another thing</span></div> | 14 <div tabindex="-1" class="step-two" aria-hidden="true"><span>Ste
p 2: Do another thing</span></div> |
(...skipping 27 matching lines...) Expand all Loading... |
42 shouldBe("main.childrenCount", "2"); | 42 shouldBe("main.childrenCount", "2"); |
43 | 43 |
44 // And most importantly, the DIV that was made non-hidden should have
one child now. | 44 // And most importantly, the DIV that was made non-hidden should have
one child now. |
45 shouldBe("main.childAtIndex(1).childrenCount", "1"); | 45 shouldBe("main.childAtIndex(1).childrenCount", "1"); |
46 } | 46 } |
47 | 47 |
48 </script> | 48 </script> |
49 | 49 |
50 </body> | 50 </body> |
51 </html> | 51 </html> |
OLD | NEW |