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

Implement ':matches-css-first-line()' pseudo-class #150

Closed slavaleleka closed 1 year ago

slavaleleka commented 2 years ago

DOM elements styled with :first-line pseudo-element can not be matched by ExtendedCss for now. We need a new pseudo-class for such cases https://uploads.adguard.org/slbdzdrvg2pv5.png https://uploads.adguard.org/slbdzdrvhkdnz.png

leave in readme a note about how filter-maintainers should check value to match by rule

Related issue: https://github.com/AdguardTeam/AdguardFilters/issues/126089

krystian3w commented 2 years ago

IMO also no possible cover with :-abp-properties: https://github.com/AdguardTeam/ExtendedCss/issues/148 (no worth recover support).

BlazDT commented 1 year ago

Any news?

krystian3w commented 1 year ago

News is: eBay tries now use shadow DOM/shadowRoot.

BlazDT commented 1 year ago

I saw the Reddit entry and therefore checked again, but no shadowroot for me.

slavaleleka commented 1 year ago

matching first-line pseudo-element will be possible in ExtendedCss v2