blob: e421a9092001fcf15f88f4634c6db07e5bb016cb [file] [log] [blame]
<!--
| Ensures that updating a textNode properly refreshes the layout.
-->
<html>
<head>
<style>
#to-mutate {
font-size: 100px;
}
</style>
<script>
if (window.testRunner) {
window.testRunner.waitUntilDone();
}
window.onload = function() {
if (window.testRunner) {
window.testRunner.DoNonMeasuredLayout();
}
var region = document.getElementById("to-mutate");
region.firstChild.textContent = "123";
if (window.testRunner) {
window.testRunner.notifyDone();
}
}
</script>
</head>
<body>
<div id="to-mutate">foo</div>
</body>
</html>