Chromium Code Reviews| Index: LayoutTests/fast/block/marquee-in-fixed-size-container.html |
| diff --git a/LayoutTests/fast/block/marquee-in-fixed-size-container.html b/LayoutTests/fast/block/marquee-in-fixed-size-container.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e6e18f7f24f25285bc1fe6d81efe607e5341414b |
| --- /dev/null |
| +++ b/LayoutTests/fast/block/marquee-in-fixed-size-container.html |
| @@ -0,0 +1,23 @@ |
| +<!DOCTYPE html> |
|
mstensho (USE GERRIT)
2015/06/24 08:24:37
I think we need a better file name. What's of inte
changseok
2015/06/25 06:41:34
Renamed marquee-width-shrinks-to-fit-in-fixed-size
|
| +<script src="../../resources/js-test.js"></script> |
| +<style> |
| +div { |
|
mstensho (USE GERRIT)
2015/06/24 08:24:37
No need for this. DIVs don't have padding or margi
changseok
2015/06/25 06:41:33
Removed.
|
| + padding: 0px; |
| + margin: 0px; |
| +} |
| +.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("This tests if marquee contributes to the width of its container having a fixed width size. It should not."); |
|
mstensho (USE GERRIT)
2015/06/24 08:24:37
This isn't quite right. It's not the container of
changseok
2015/06/25 06:41:34
How about this?
"This tests if a block having an i
mstensho (USE GERRIT)
2015/06/25 07:46:46
I don't understand the word "collapses" in this co
|
| +shouldBeEqualToNumber("document.querySelector('.inner').getBoundingClientRect().width", 200); |
| +</script> |