mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
14f9336d4e
MozReview-Commit-ID: 9ERy2DV51RE --HG-- extra : rebase_source : dd9254adecf86df5e1ba16594f7b194745300ff2
11 lines
326 B
HTML
11 lines
326 B
HTML
<!doctype html>
|
|
<title>CSS test for bug 1373559: Deleted @import rules no longer apply to the document.</title>
|
|
<style></style>
|
|
Shouldn't be red.
|
|
<script>
|
|
let sheet = document.styleSheets[0];
|
|
sheet.insertRule("@import url(data:text/css,body{color:red})", 0);
|
|
document.documentElement.offsetTop;
|
|
sheet.deleteRule(0);
|
|
</script>
|