Chromium Code Reviews| Index: LayoutTests/cssom/insertrule-syntax-error-01.html |
| diff --git a/LayoutTests/cssom/insertrule-syntax-error-01.html b/LayoutTests/cssom/insertrule-syntax-error-01.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..83d592ee157271c82d014ce59eae647e053c3f8d |
| --- /dev/null |
| +++ b/LayoutTests/cssom/insertrule-syntax-error-01.html |
| @@ -0,0 +1,8 @@ |
| +<!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> |