1
0
Fork 0
firefox/testing/web-platform/tests/css/cssom/removerule-invalidation-crash.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

16 lines
468 B
HTML

<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSSOM - removeRule doesn't assert when removing a particular set of rules</title>
<link rel="help" href="https://drafts.csswg.org/cssom/#cssstylesheet">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1659718">
<style>
@media all {
* { color: red; }
#foobar { color: blue }
}
</style>
<script>
document.documentElement.getBoundingClientRect();
document.styleSheets[0].deleteRule(0);
</script>