blob: 280a53d76da96daa79477e0a1b1411cae088d033 [file] [log] [blame]
<!DOCTYPE html>
<html>
<!--
| This tests that when setting cssText, it changes the layout when needed.
-->
<head>
<style>
body {
margin: 0px;
}
div { display:block; background: #ddd; }
</style>
</head>
<body>
<script>
if (window.testRunner) {
window.testRunner.waitUntilDone();
}
window.onload = function () {
document.getElementById('box').style.cssText = "height: 20px;";
if (window.testRunner) {
window.testRunner.notifyDone();
}
};
</script>
<div id="box"></div>
</body>
</html>