It looks like a regression and it started occurring in AdGuard Browser extension version 4.1.55, but works correctly in version 4.1.53.
The same issue occurs in latest nightly build for Windows 7.13 nightly 8 (build 4242, CL 1.11.79).
Steps to reproduce:
- Add this rule:
example.org#?#div:matches-css(margin: /./) > :not(p)
or
example.org#?#div:has(a) > :not(p)
- Go to - https://example.org/
Rule hides div but it should hide only h1 element.
Screenshots


Related issues:
AdguardTeam/AdguardFilters#147558
AdguardTeam/AdguardFilters#147319 (comment)
With extension version 4.1.53
Screenshots

It looks like a regression and it started occurring in AdGuard Browser extension version 4.1.55, but works correctly in version 4.1.53.
The same issue occurs in latest nightly build for Windows 7.13 nightly 8 (build 4242, CL 1.11.79).
Steps to reproduce:
or
Rule hides
divbut it should hide onlyh1element.Screenshots
Related issues:
AdguardTeam/AdguardFilters#147558
AdguardTeam/AdguardFilters#147319 (comment)
With extension version 4.1.53
Screenshots