blob: 49647e10fe22e71f64a17c32eee0b67aeca40d4d [file] [log] [blame]
<!DOCTYPE html>
<!--
| An inline child gets rendered after adding it to an inline box.
-->
<html>
<head>
<style>
body {
margin: 0px;
font-family: Roboto;
font-size: 18px;
}
.light-blue {
background-color: #03a9f4;
}
.dark-sea-green {
background-color: #8FBC8F;
}
</style>
<script>
if (window.testRunner) {
window.testRunner.waitUntilDone();
}
window.onload = function() {
if (window.testRunner) {
window.testRunner.DoNonMeasuredLayout();
}
var new_block = document.createElement('span');
new_block.className = 'dark-sea-green';
new_block.textContent = 'Y';
document.getElementById('parent').appendChild(new_block);
if (window.testRunner) {
window.testRunner.notifyDone();
}
}
</script>
</head>
<body>
<span id="parent" class="light-blue">X</span><span>Z</span>
</body>
</html>