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="../fast/js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body id="body"> | 6 <body id="body"> |
7 | 7 |
8 <div tabindex=0 id="scroller" aria-valuenow="55" role="scrollbar" aria-orientati
on="vertical">scrollbar</div> | 8 <div tabindex=0 id="scroller" aria-valuenow="55" role="scrollbar" aria-orientati
on="vertical">scrollbar</div> |
9 | 9 |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 shouldBe("scroller.role", "'AXRole: AXScrollBar'"); | 22 shouldBe("scroller.role", "'AXRole: AXScrollBar'"); |
23 shouldBe("scroller.intValue", "55"); | 23 shouldBe("scroller.intValue", "55"); |
24 shouldBe("scroller.orientation", "'AXOrientation: AXVerticalOrientation'
"); | 24 shouldBe("scroller.orientation", "'AXOrientation: AXVerticalOrientation'
"); |
25 | 25 |
26 document.getElementById("scroller").setAttribute("aria-orientation", "ho
rizontal"); | 26 document.getElementById("scroller").setAttribute("aria-orientation", "ho
rizontal"); |
27 shouldBe("scroller.orientation", "'AXOrientation: AXHorizontalOrientatio
n'"); | 27 shouldBe("scroller.orientation", "'AXOrientation: AXHorizontalOrientatio
n'"); |
28 } | 28 } |
29 | 29 |
30 </script> | 30 </script> |
31 | 31 |
32 <script src="../fast/js/resources/js-test-post.js"></script> | |
33 </body> | 32 </body> |
34 </html> | 33 </html> |
OLD | NEW |