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