blob: 69d75d1b99d743dd71d68df1a8d016fb6a81ee05 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
body {
display: inline;
height: 1%;
}
</style>
</head>
<body>
<p>
Test passes if it does not crash.
</p>
<script>
if (window.testRunner)
testRunner.dumpAsText()
var div = document.createElement("div");
document.body.appendChild(div);
div.offsetWidth;
div.style.display = 'inline';
div.offsetWidth;
</script>
</body>
</html>