blob: f49d31a9db14b50b4a1c28277de0b420b94df559 [file] [log] [blame]
<head>
<style>
@import url("data:text/css,%23test{display:none;}");
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function test() {
var s = document.styleSheets;
s[0].cssRules[0].styleSheet.deleteRule(0);
}
</script>
<body onload='test()'>
Test that modifying @import stylesheet through DOM updates style properly. You should see PASS below:
<div id=test>PASS</div>