Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSSOM - removeRule doesn't assert when removing a particular set of rules</title>
<style>
@media all {
* { color: red; }
#foobar { color: blue }
}
</style>
<script>
document.documentElement.getBoundingClientRect();
document.styleSheets[0].deleteRule(0);
</script>