blob: 752f7043b4fbd7b792ffc34826586db045b1cef8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
<!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>
|