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