gecko-dev/testing/web-platform/tests/css/cssom/insertRule-from-script.html
sbansal3096 0e6b7118b3 Bug 1538403 [wpt PR 15987] - Work in Progress, a=testonly
Automatic update from web-platform-tests
Fix insertRule crash by exposing getter on stylesheet's owner

--

wpt-commits: 0e9384b230cb55046e807dafddfe0c69270747f0
wpt-pr: 15987
2019-04-24 11:30:39 +01:00

12 lines
No EOL
421 B
HTML

<!doctype html>
<head>
<meta charset="utf-8">
<title>insertrule @import test</title>
<link rel="help" href="https://drafts.csswg.org/cssom/">
<link rel="help" href="http://www.w3.org/TR/cssom-1/#the-cssrule-interface">
<link rel="match" href="insertRule-from-script-ref.html">
<style></style>
</head>
<body>
<script>document.styleSheets[0].insertRule("@import url(\"support/black.css\");");</script>
</body>