OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
4 <style> | 4 <style> |
5 div.box { | 5 div.box { |
6 display: -moz-box; | 6 display: -moz-box; |
7 display: -webkit-box; | 7 display: -webkit-box; |
8 display: box; | 8 display: box; |
9 } | 9 } |
10 | 10 |
11 div.outer { | 11 div.outer { |
12 width: 100px; | 12 width: 100px; |
13 height: 100px; | 13 height: 100px; |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 element = document.getElementById("expandHorizontal"); | 133 element = document.getElementById("expandHorizontal"); |
134 shouldBe("element.scrollHeight", "100"); | 134 shouldBe("element.scrollHeight", "100"); |
135 shouldBe("element.scrollWidth", "100"); | 135 shouldBe("element.scrollWidth", "100"); |
136 | 136 |
137 debug("horizontally shrinking"); | 137 debug("horizontally shrinking"); |
138 element = document.getElementById("shrinkHorizontal"); | 138 element = document.getElementById("shrinkHorizontal"); |
139 shouldBe("element.scrollHeight", "100"); | 139 shouldBe("element.scrollHeight", "100"); |
140 shouldBe("element.scrollWidth", "100"); | 140 shouldBe("element.scrollWidth", "100"); |
141 </script> | 141 </script> |
142 </body> | 142 </body> |
OLD | NEW |