1
0
Fork 0
firefox/testing/web-platform/tests/css/cssom/insert-invalid-where-rule-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

10 lines
413 B
HTML

<!DOCTYPE html>
<title>CSSOM Test: Chrome crash keeping rule with empty selector list</title>
<link rel="help" href="https://crbug.com/1499358">
<link rel="author" title="Steinar H. Gunderson" href="mailto:sesse@chromium.org">
<p id="elem">PASS if no crash.</p>
<style id="sheet">.x, :where("something invalid") {} </style>
<script>
elem.offsetTop;
sheet.sheet.insertRule("p { color: green; }", 0);
</script>