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="../js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 <style> | 5 <style> |
6 #test1 { padding: 10px; display: none; } | 6 #test1 { padding: 10px; display: none; } |
7 </style> | 7 </style> |
8 </head> | 8 </head> |
9 <body> | 9 <body> |
10 | 10 |
11 <div id="tests_container"> | 11 <div id="tests_container"> |
12 | 12 |
13 <div id="test0" style="display: none"></div> | 13 <div id="test0" style="display: none"></div> |
14 <div id="test1"></div> | 14 <div id="test1"></div> |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 shouldBeEqualToString("window.getComputedStyle(test5, null).paddingTop", "10px
"); | 52 shouldBeEqualToString("window.getComputedStyle(test5, null).paddingTop", "10px
"); |
53 shouldBeEqualToString("window.getComputedStyle(test6, null).paddingTop", "10%"
); | 53 shouldBeEqualToString("window.getComputedStyle(test6, null).paddingTop", "10%"
); |
54 shouldBeEqualToString("window.getComputedStyle(test7, null).paddingTop", "10%"
); | 54 shouldBeEqualToString("window.getComputedStyle(test7, null).paddingTop", "10%"
); |
55 | 55 |
56 // clean up after ourselves | 56 // clean up after ourselves |
57 var tests_container = document.getElementById("tests_container"); | 57 var tests_container = document.getElementById("tests_container"); |
58 tests_container.parentNode.removeChild(tests_container); | 58 tests_container.parentNode.removeChild(tests_container); |
59 </script> | 59 </script> |
60 </body> | 60 </body> |
61 </html> | 61 </html> |
OLD | NEW |