blob: f2e4d2ba449e463ee92d7ae2f161a8dc9250628a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!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>
|