blob: e6bfae27a675ad9f7df6e426db593d446a73cea8 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.static-container {
height: 300px;
width: 300px;
background-color: #FF5252;
}
.static-inline-block {
width: 140px;
height: 50px;
display: inline-block;
background-color: #76FF03;
}
.thin-width {
width: 50px;
}
.large-width {
width: 150px;
}
</style>
<script>
if (window.testRunner) {
window.testRunner.waitUntilDone();
}
window.onload = function() {
if (window.testRunner) {
window.testRunner.DoNonMeasuredLayout();
}
var node = document.getElementById('node');
node.className = "static-container large-width";
if (window.testRunner) {
window.testRunner.notifyDone();
}
}
</script>
</head>
<body>
<div id="node" class="static-container">
<span class="static-inline-block">test</span>
<span>and</span>
</div>
</body>
</html>