OLD | NEW |
---|---|
(Empty) | |
1 <!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
| |
2 <script src="../../resources/js-test.js"></script> | |
3 <style> | |
4 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.
| |
5 padding: 0px; | |
6 margin: 0px; | |
7 } | |
8 .outer { | |
9 width: 200px; | |
10 } | |
11 .inner { | |
12 width: intrinsic; | |
13 } | |
14 </style> | |
15 <div class="outer"> | |
16 <div class="inner"> | |
17 <marquee>The quick brown fox jumps over the lazy dog. The quick brown fox ju mps over the lazy dog. The quick brown fox jumps over the lazy dog.</marquee> | |
18 </div> | |
19 </div> | |
20 <script> | |
21 description("This tests if marquee contributes to the width of its container hav ing 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
| |
22 shouldBeEqualToNumber("document.querySelector('.inner').getBoundingClientRect(). width", 200); | |
23 </script> | |
OLD | NEW |