fune/layout/reftests/text-overflow/dynamic-change-1.html
Boris Zbarsky f4e8b5761a Bug 1340277. Fix stylo to properly update styles on the anonymous scrolled-content frame inside a scrollframe. r=emilio
MozReview-Commit-ID: DE4C6pIp8SC

--HG--
extra : rebase_source : 4e7071074791fee71b7bd61da27387035d803374
2017-03-03 16:16:11 -05:00

16 lines
478 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<div style="overflow: hidden; width: 130px; white-space: nowrap">
Some long text that cannot possibly fit in 130 px, because it just can't.
</div>
<script>
onload = function() {
var div = document.querySelector("div");
// Make sure layout has happened.
window.width = div.offsetWidth;
div.style.textOverflow = "ellipsis";
document.documentElement.className = "";
}
</script>
</html>