AdguardTeam / AdguardTeam/ExtendedCss

Fix ':has()' pseudo-class due to <forgiving-relative-selector-list>

Open
#154 2 comments 1 reaction 1 assignee Claimed by @maximtop View on GitHub
Priority: P4 Version: ExtendedCss v2.2
Dominant language
TypeScript
Stars
71
Forks
11
PR merge metrics
No merged PRs in 30d

Description

native :has() pseudo-class takes ``
https://www.w3.org/TR/selectors-4/#has-pseudo

but in v2.0 it seems to take `` which means that **all** of selectors in the selector list arg are being matched
https://uploads.adguard.org/slbdzdrvx7z36.png

native implementation also does not signal an error on invalid selector in the list arg
https://uploads.adguard.org/slbdzdrve42fv.png

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.