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
65 stars 9 forks source link

Avoid limitation of ':not()' pseudo-class related to different DOM levels of comparing elements #155

Open slavaleleka opened 1 year ago

slavaleleka commented 1 year ago

"Up-looking" pseudo-classes which are :nth-ancestor() and :upward() are not supported inside selectors argument for :not() pseudo-class.

https://github.com/AdguardTeam/ExtendedCss#extended-css-not-limitations