| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <p id="description">This tests the parsing and retrieval of the overflow, overfl
ow-x and overflow-y properties.</p> | 7 <p id="description">This tests the parsing and retrieval of the overflow, overfl
ow-x and overflow-y properties.</p> |
| 8 <div id="console"></div> | 8 <div id="console"></div> |
| 9 | 9 |
| 10 <div id="tests_container"> | 10 <div id="tests_container"> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 var test5 = document.getElementById("test5"); | 32 var test5 = document.getElementById("test5"); |
| 33 var test6 = document.getElementById("test6"); | 33 var test6 = document.getElementById("test6"); |
| 34 var test7 = document.getElementById("test6"); | 34 var test7 = document.getElementById("test6"); |
| 35 var test8 = document.getElementById("test8"); | 35 var test8 = document.getElementById("test8"); |
| 36 var test9 = document.getElementById("test9"); | 36 var test9 = document.getElementById("test9"); |
| 37 var test10 = document.getElementById("test10"); | 37 var test10 = document.getElementById("test10"); |
| 38 | 38 |
| 39 shouldBeEqualToString("test0.style.overflow", "auto"); | 39 shouldBeEqualToString("test0.style.overflow", "auto"); |
| 40 shouldBeEqualToString("test0.style.overflowX", "auto"); | 40 shouldBeEqualToString("test0.style.overflowX", "auto"); |
| 41 shouldBeEqualToString("test0.style.overflowY", "auto"); | 41 shouldBeEqualToString("test0.style.overflowY", "auto"); |
| 42 shouldBeEqualToString("test0.style.getPropertyShorthand('overflow-x')", "ove
rflow"); | |
| 43 shouldBeEqualToString("test0.style.getPropertyShorthand('overflow-y')", "ove
rflow"); | |
| 44 shouldBeEqualToString("test1.style.overflow", ""); | 42 shouldBeEqualToString("test1.style.overflow", ""); |
| 45 shouldBeEqualToString("test1.style.overflowX", ""); | 43 shouldBeEqualToString("test1.style.overflowX", ""); |
| 46 shouldBeEqualToString("test1.style.overflowY", ""); | 44 shouldBeEqualToString("test1.style.overflowY", ""); |
| 47 shouldBeEqualToString("test2.style.overflow", "scroll"); | 45 shouldBeEqualToString("test2.style.overflow", "scroll"); |
| 48 shouldBeEqualToString("test2.style.overflowX", "scroll"); | 46 shouldBeEqualToString("test2.style.overflowX", "scroll"); |
| 49 shouldBeEqualToString("test2.style.overflowY", "scroll"); | 47 shouldBeEqualToString("test2.style.overflowY", "scroll"); |
| 50 shouldBeEqualToString("test3.style.overflow", ""); | 48 shouldBeEqualToString("test3.style.overflow", ""); |
| 51 shouldBeEqualToString("test3.style.overflowX", "overlay"); | 49 shouldBeEqualToString("test3.style.overflowX", "overlay"); |
| 52 shouldBeEqualToString("test3.style.overflowY", "hidden"); | 50 shouldBeEqualToString("test3.style.overflowY", "hidden"); |
| 53 shouldBeEqualToString("test4.style.overflow", ""); | 51 shouldBeEqualToString("test4.style.overflow", ""); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 69 shouldBeEqualToString("test10.style.overflowX", "visible"); | 67 shouldBeEqualToString("test10.style.overflowX", "visible"); |
| 70 shouldBeEqualToString("test10.style.overflowY", "-webkit-paged-y"); | 68 shouldBeEqualToString("test10.style.overflowY", "-webkit-paged-y"); |
| 71 | 69 |
| 72 // clean up after ourselves | 70 // clean up after ourselves |
| 73 var tests_container = document.getElementById("tests_container"); | 71 var tests_container = document.getElementById("tests_container"); |
| 74 tests_container.parentNode.removeChild(tests_container); | 72 tests_container.parentNode.removeChild(tests_container); |
| 75 </script> | 73 </script> |
| 76 <script src="../js/resources/js-test-post.js"></script> | 74 <script src="../js/resources/js-test-post.js"></script> |
| 77 </body> | 75 </body> |
| 78 </html> | 76 </html> |
| OLD | NEW |