blob: 39a1012494a4ef57e328d08f17805fc4c4af8124 [file] [log] [blame]
<html>
<head id="head">
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<style>
* {background-image:inherit;}
</style>
</head>
<body>
<span></span>
</body>
<script>
document.body.style.background="-webkit-canvas(foo)";
var head = document.getElementById("head");
style = document.createElement("style");
style.type = "text/css";
var rule = document.createTextNode("* {content:counter(mycount_id)}");
style.appendChild(rule);
head.appendChild(style);
document.body.setAttribute("style","line-height:128mm;");
</script>
This test works if it doesn't crash.
</html>