2 <p>Test passes if all silver blocks are the same size as the green blocks next to them.
4 <div class='pre'
></div>
6 <div class='post'
></div>
10 <div class='pre'
></div>
11 <marquee direction='up'
>
12 Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
15 Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
20 <div class='pre'
></div>
21 <marquee direction='up'
>
22 Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
24 <div class='post'
></div>
29 display: inline-block;
34 display: inline-block;
73 <script src=
"../../resources/js-test.js"></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.");
76 var horiz
= document
.querySelector('#horiz marquee');
77 var vertAuto
= document
.querySelector('#vertAuto marquee');
78 var vertFixed
= document
.querySelector('#vertFixed marquee');
79 shouldBe('getComputedStyle(horiz).height', '"10px"');
80 shouldBe('getComputedStyle(vertAuto).height', '"380px"');
81 shouldBe('getComputedStyle(vertFixed).height', '"100px"');
82 if (window
.testRunner
) {
83 testRunner
.dumpAsText();