OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <p>Test passes if all silver blocks are the same size as the green blocks next t
o them. | 2 <p>Test passes if all silver blocks are the same size as the green blocks next t
o them. |
3 <div id='horiz'> | 3 <div id='horiz'> |
4 <div class='pre'></div> | 4 <div class='pre'></div> |
5 <marquee>foo</marquee> | 5 <marquee>foo</marquee> |
6 <div class='post'></div> | 6 <div class='post'></div> |
7 </div> | 7 </div> |
8 <hr> | 8 <hr> |
9 <div id='vertAuto'> | 9 <div id='vertAuto'> |
10 <div class='pre'></div> | 10 <div class='pre'></div> |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 var horiz = document.querySelector('#horiz marquee'); | 76 var horiz = document.querySelector('#horiz marquee'); |
77 var vertAuto = document.querySelector('#vertAuto marquee'); | 77 var vertAuto = document.querySelector('#vertAuto marquee'); |
78 var vertFixed = document.querySelector('#vertFixed marquee'); | 78 var vertFixed = document.querySelector('#vertFixed marquee'); |
79 shouldBe('getComputedStyle(horiz).height', '"10px"'); | 79 shouldBe('getComputedStyle(horiz).height', '"10px"'); |
80 shouldBe('getComputedStyle(vertAuto).height', '"200px"'); | 80 shouldBe('getComputedStyle(vertAuto).height', '"200px"'); |
81 shouldBe('getComputedStyle(vertFixed).height', '"100px"'); | 81 shouldBe('getComputedStyle(vertFixed).height', '"100px"'); |
82 if (window.testRunner) { | 82 if (window.testRunner) { |
83 testRunner.dumpAsText(); | 83 testRunner.dumpAsText(); |
84 } | 84 } |
85 </script> | 85 </script> |
86 <script src="../js/resources/js-test-post.js"></script> | |
OLD | NEW |