Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / marquee-width-shrinks-to-fit-in-fixed-size-container.html
blob54392b593f42d51f80d9898605df1ad52c47ee4c
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <style>
4 .outer {
5 width: 200px;
7 .inner {
8 width: intrinsic;
10 </style>
11 <div class="outer">
12 <div class="inner">
13 <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>
14 </div>
15 </div>
16 <script>
17 description("Test that a horizontal marquee doesn't contribute to a container's intrinsic minimum width.");
18 shouldBeEqualToNumber("document.querySelector('.inner').getBoundingClientRect().width", 200);
19 </script>