summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/dom/css-insert-import-rule.html
blob: b0b15b036fbef224b16dd3df277492834067f0fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<head>
<style>
@import url("resources/css-insert-import-rule-red.css");
div {
    width: 100px;
    height: 100px;
}
</style>

<script>
document.styleSheets[0].insertRule('@import url("resources/css-insert-import-rule.css");', 0);
</script>

</head>
<body>
<div></div>
</body>