| OLD | NEW | 
|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> | 
| 2 <script src="../../resources/js-test.js"></script> | 2 <script src="../../resources/js-test.js"></script> | 
| 3 <style> | 3 <style> | 
| 4 .outer { | 4 .outer { | 
| 5   width: 200px; | 5   width: 200px; | 
| 6 } | 6 } | 
| 7 .inner { | 7 .inner { | 
| 8   width: fit-content; | 8   width: intrinsic; | 
| 9 } | 9 } | 
| 10 </style> | 10 </style> | 
| 11 <div class="outer"> | 11 <div class="outer"> | 
| 12   <div class="inner"> | 12   <div class="inner"> | 
| 13     <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> | 13     <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> | 
| 14   </div> | 14   </div> | 
| 15 </div> | 15 </div> | 
| 16 <script> | 16 <script> | 
| 17 description("Test that a horizontal marquee doesn't contribute to a container's 
    intrinsic minimum width."); | 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); | 18 shouldBeEqualToNumber("document.querySelector('.inner').getBoundingClientRect().
    width", 200); | 
| 19 </script> | 19 </script> | 
| OLD | NEW | 
|---|