mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb/CSS: Disallow :has() and pseudo-elements in :has() when parsing
This commit is contained in:
parent
ad1f93504e
commit
7f803c5c3d
Notes:
github-actions[bot]
2024-11-14 19:08:37 +00:00
Author: https://github.com/AtkinsSJ
Commit: 7f803c5c3d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2340
6 changed files with 45 additions and 0 deletions
|
@ -5,6 +5,11 @@
|
|||
test(() => {
|
||||
let selectors = [
|
||||
":has(:yakthonk)",
|
||||
":has(:not(:yakthonk))",
|
||||
":has(:has(span))",
|
||||
":has(:not(:has(span)))",
|
||||
":has(::before)",
|
||||
":has(:not(::before))",
|
||||
];
|
||||
|
||||
let style = document.getElementById("style");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue