ladybird/Tests/LibWeb/Text/input/css/unknown-pseudo-elements-crash.html
Totto16 540c840755 LibWeb: Add test for getComputedStyle with a PseudoElement argument
This test checks the case, where an unknown pseudo element is used as
second argument to getComputedStyle
2024-12-19 19:35:57 +00:00

7 lines
194 B
HTML

<script src="../include.js"></script>
<script>
test(() => {
getComputedStyle(document.body, "::-webkit-scrollbar").display;
println("PASS (didn't crash)");
});
</script>