| Index: LayoutTests/fast/block/marquee-width-shrinks-to-fit-in-fixed-size-container.html
|
| diff --git a/LayoutTests/fast/block/marquee-width-shrinks-to-fit-in-fixed-size-container.html b/LayoutTests/fast/block/marquee-width-shrinks-to-fit-in-fixed-size-container.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..54392b593f42d51f80d9898605df1ad52c47ee4c
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/block/marquee-width-shrinks-to-fit-in-fixed-size-container.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/js-test.js"></script>
|
| +<style>
|
| +.outer {
|
| + width: 200px;
|
| +}
|
| +.inner {
|
| + width: intrinsic;
|
| +}
|
| +</style>
|
| +<div class="outer">
|
| + <div class="inner">
|
| + <marquee>The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</marquee>
|
| + </div>
|
| +</div>
|
| +<script>
|
| +description("Test that a horizontal marquee doesn't contribute to a container's intrinsic minimum width.");
|
| +shouldBeEqualToNumber("document.querySelector('.inner').getBoundingClientRect().width", 200);
|
| +</script>
|
|
|