mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-26 20:26:53 +00:00
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:
parent
d21bfda900
commit
540c840755
Notes:
github-actions[bot]
2024-12-19 19:36:55 +00:00
Author: https://github.com/Totto16
Commit: 540c840755
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2908
Reviewed-by: https://github.com/AtkinsSJ ✅
2 changed files with 8 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
|||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
getComputedStyle(document.body, "::-webkit-scrollbar").display;
|
||||
println("PASS (didn't crash)");
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue