| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 } | 70 } |
| 71 </style> | 71 </style> |
| 72 | 72 |
| 73 <script src="../../resources/js-test.js"></script> | 73 <script src="../../resources/js-test.js"></script> |
| 74 <script> | 74 <script> |
| 75 description("The height of a horizontal marquee is computed as normal for inline
-blocks. The 'auto' height of a vertical marquee defaults to 200px."); | 75 description("The height of a horizontal marquee is computed as normal for inline
-blocks. The 'auto' height of a vertical marquee defaults to 200px."); |
| 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', '"380px"'); |
| 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> |
| OLD | NEW |