blob: 758703d6c9801a0833d1fc588fdcd3c1d7ff3519 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.static-container {
height: 300px;
width: 300px;
background-color: #FF5252;
}
.static-inline-block {
width: 100px;
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-inline-block thin-width";
if (window.testRunner) {
window.testRunner.notifyDone();
}
}
</script>
</head>
<body>
<div class="static-container">
<span id="node" class="static-inline-block large-width">test</span>
<span>and</span>
</div>
</body>
</html>