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
This commit is contained in:
Totto16 2024-12-19 19:15:51 +01:00 committed by Sam Atkins
commit 540c840755
Notes: github-actions[bot] 2024-12-19 19:36:55 +00:00
2 changed files with 8 additions and 0 deletions

View file

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