Pass | A syntax error in insertRule should throw and not affect the style of the page | Asserts runPass | assert_throws_dom("SyntaxError", function "() => document.styleSheets[0].insertRule("p { color: red; } garbage", 1)")
at Test.<anonymous> ( /css/cssom/insertRule-syntax-error-01.html:11:9) | Pass | assert_equals("rgb(0, 128, 0)", "rgb(0, 128, 0)")
at Test.<anonymous> ( /css/cssom/insertRule-syntax-error-01.html:12:9) |
|