1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:27:34 +00:00

LibWeb: Fix crash parsing an invalid pseudo compound selector

Reduced from a crash on: https://github.com/SerenityOS/serenity/pulls

Fixes #20568
This commit is contained in:
Shannon Booth 2023-08-14 20:42:18 +12:00 committed by Sam Atkins
parent bf5a17dedb
commit 576f8e8fa8
3 changed files with 19 additions and 3 deletions

View file

@ -0,0 +1,5 @@
<div>
<style>
:host(:thing) {}
</style>
</div>