servo/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/text-overflow-005.xht
Ms2ger 296fa2512b Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
2017-02-06 22:38:29 +01:00

19 lines
No EOL
1.1 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html class="reftest-wait" xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8" />
<title>CSS-UI test: text-overflow reflow</title>
<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" />
<link href="mailto:michael@notriddle.com" rel="author" title="Michael Howell" />
<link href="http://www.w3.org/TR/css3-ui/#text-overflow" rel="help" title="8.2. Overflow Ellipsis: the 'text-overflow' property" />
<link href="reference/text-overflow-005-ref.xht" rel="match" />
<meta content="ahem" name="flags" />
<style>html{font-family:Ahem}</style>
</head><body><div style="width:5em" id="goat"><p style="text-overflow:ellipsis;overflow:hidden">XXXXXXXXXX</p></div>
<script>
var goat = document.getElementById("goat");
requestAnimationFrame(function() {
goat.style.width = "20em";
document.documentElement.className = "";
});
</script>
</body></html>