OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <style> | 3 <style> |
4 .test { | 4 .test { |
5 width:120px; | 5 width:120px; |
6 height:120px; | 6 height:120px; |
7 border:10px solid black; | 7 border:10px solid black; |
8 } | 8 } |
9 | 9 |
10 .border-box { | 10 .border-box { |
(...skipping 30 matching lines...) Expand all Loading... |
41 shouldBe('document.getElementById("t1").offsetHeight', '120'); | 41 shouldBe('document.getElementById("t1").offsetHeight', '120'); |
42 shouldBe('document.getElementById("t2").offsetWidth', '120'); | 42 shouldBe('document.getElementById("t2").offsetWidth', '120'); |
43 shouldBe('document.getElementById("t2").offsetHeight', '120'); | 43 shouldBe('document.getElementById("t2").offsetHeight', '120'); |
44 shouldBe('document.getElementById("t3").offsetWidth', '140'); | 44 shouldBe('document.getElementById("t3").offsetWidth', '140'); |
45 shouldBe('document.getElementById("t3").offsetHeight', '140'); | 45 shouldBe('document.getElementById("t3").offsetHeight', '140'); |
46 shouldBe('document.getElementById("t4").offsetWidth', '140'); | 46 shouldBe('document.getElementById("t4").offsetWidth', '140'); |
47 shouldBe('document.getElementById("t4").offsetHeight', '140'); | 47 shouldBe('document.getElementById("t4").offsetHeight', '140'); |
48 | 48 |
49 document.getElementById("testContent").style.display = 'none'; | 49 document.getElementById("testContent").style.display = 'none'; |
50 </script> | 50 </script> |
51 <script src="../js/resources/js-test-post.js"></script> | |
52 </body> | 51 </body> |
53 </html> | 52 </html> |
OLD | NEW |