Sign in
webkit
/
WebKit
/
6b7c45f751131450b1675ef5b4b89fb3a0e35aba
/
.
/
LayoutTests
/
imported
/
blink
/
cssom
/
insertrule-syntax-error-01.html
blob: 83d592ee157271c82d014ce59eae647e053c3f8d [
file
] [
log
] [
blame
]
<!DOCTYPE html>
<style>
p
{
color
:
green
;
}
</style>
<script>
document
.
styleSheets
[
0
].
insertRule
(
"p { color: red; } garbage"
,
1
);
</script>
<p>
This text should be green.
</p>