blob: 849ac25d9bd328384e0d642ddc85df76e71552f0 [file] [log] [blame]
<html>
<head>
<style>
div { background-color: red; width: 100px; height: 100px }
</style>
</head>
<body>
You should see a 100x100 green square below. If you see any red then the test has failed.
<div></div>
<script>
var s = document.createElement("style");
var t = document.createTextNode("div { background-color: green }");
s.appendChild(t);
document.body.appendChild(s);
</script>
</body>
</html>