AdguardTeam / ExtendedCss

A TypeScript library for non-standard element selecting — :contains(), :matches-css(), etc., and applying CSS styles with extended properties.
GNU General Public License v3.0
61 stars 9 forks source link

'element:has(child:contains(Text)) + peer' is returned as 'element + peer' #157

Open piquark6046 opened 1 year ago

piquark6046 commented 1 year ago

Description

If a query like element:has(child:contains(Text)) + peer is executed as an extended CSS rule, the ExtendedCSS of AdGuard returns elements matching element + peer query.

Environment

Example