blob: e001172ff65990e0a44f64a76b2ccfd587677369 [file] [log] [blame]
<head>
<style>
@import url("resources/css-insert-import-rule-red.css");
div {
width: 100px;
height: 100px;
}
</style>
<script>
function test() {
document.styleSheets[0].insertRule('@import url("resources/css-insert-import-rule.css");', 0);
if (location.href.indexOf("?") == -1) {
if (window.layoutTestController)
layoutTestController.waitUntilDone();
location.href = location.href + "?";
} else if (window.layoutTestController)
layoutTestController.notifyDone();
}
</script>
</head>
<body onload="test()";>
<div></div>
</body>