text-overflow-005

text-overflow reflow

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
ahem
Assertion
Text overflow should disappear when the container becomes large enough. This test is targetted at bug #14952 in Servo's incremental reflow engine.

Source

 1 <!DOCTYPE html>
 2 <html class="reftest-wait"><head><meta charset="utf-8">
 3 <title>CSS-UI test: text-overflow reflow</title>
 4 <meta content="Text overflow should disappear when the container becomes large enough. This test is targetted at bug #14952 in Servo's incremental reflow engine." name="assert">
 5 <link href="mailto:michael@notriddle.com" rel="author" title="Michael Howell">
 6 <link href="http://www.w3.org/TR/css3-ui/#text-overflow" rel="help" title="8.2. Overflow Ellipsis: the 'text-overflow' property">
 7 <link href="reference/text-overflow-005-ref.htm" rel="match">
 8 <meta content="ahem" name="flags">
 9 <style>html{font-family:Ahem}</style>
10 </head><body><div style="width:5em" id="goat"><p style="text-overflow:ellipsis;overflow:hidden">XXXXXXXXXX</p></div>
11 <script>
12 var goat = document.getElementById("goat");
13 requestAnimationFrame(function() {
14     goat.style.width = "20em";
15     document.documentElement.className = "";
16 });
17 </script>
18 
19 </body></html>