aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-ui-3_dev/html/text-overflow-005.htm
blob: 0a4fcce5f7a6f8d9667f0decf5edc20d728395cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html class="reftest-wait"><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.htm" 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>