blob: f89b2f2d75d49a3cc6383ce5c2f0654ad42171c8 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.addUserStyleSheet("div { width:0; }", true);
}
</script>
</head>
<body>
<div id="target">FAIL</div>
<script>
if (document.getElementById('target').offsetWidth == 0)
document.getElementById('target').innerHTML = 'PASS';
</script>
</body>
</html>