OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <style> | 2 <style> |
3 html, body, .workspace { | 3 html, body, .workspace { |
4 height: 100%; | 4 height: 100%; |
5 } | 5 } |
6 </style> | 6 </style> |
7 <script src="../../resources/js-test.js"></script> | 7 <script src="../../resources/js-test.js"></script> |
8 <div class="workspace"> | 8 <div class="workspace"> |
9 <p id="description"></p> | 9 <p id="description"></p> |
10 <div id="console"></div> | 10 <div id="console"></div> |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 eventSender.keyDown('\t'); | 23 eventSender.keyDown('\t'); |
24 shouldBe("document.activeElement.id", "'tab2'"); | 24 shouldBe("document.activeElement.id", "'tab2'"); |
25 | 25 |
26 eventSender.keyDown('\t'); | 26 eventSender.keyDown('\t'); |
27 shouldBe("document.activeElement.id", "'tab3'"); | 27 shouldBe("document.activeElement.id", "'tab3'"); |
28 | 28 |
29 eventSender.keyDown('\t'); | 29 eventSender.keyDown('\t'); |
30 shouldBe("document.activeElement.id", "'tab4'"); | 30 shouldBe("document.activeElement.id", "'tab4'"); |
31 | 31 |
32 shouldBe("document.body.clientHeight", "document.body.scrollHeight - window.
scrollY"); | 32 shouldBe("document.body.clientHeight", "document.scrollingElement.scrollHeig
ht - window.scrollY"); |
33 </script> | 33 </script> |
OLD | NEW |