-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restore :if-not() support as an alias of :not(:has()) #2376
Comments
Will add temp fix to Unbreak. According to AG document,
So I guess if-not has been used by some minor lists too. |
Oh, forgot uBO once supported if-not. |
|
I am thinking of removing AdGuard Base from uBO's stock lists. The main reason it was added a long time ago was because unlike EasyList, it was using special |
My exception is for Japanese filters, a default regional list. |
Oops my bad. So the question to AdGuard filter list committers: why use |
I contacted @zloyden but he's currently away. I'll change the rule and remove from Unbreak. |
By the way, |
Duplicate of #2228 (comment) Also removed from support is ! all "0 match" nodes/elements
##.TimelineItem:if(#issue-1458171112)
#?#.TimelineItem[-ext-has='#issue-1458171112']
#?#.TimelineItem[-ext-has="#issue-1458171112"]
|
Prerequisites
I tried to reproduce the issue when...
Description
No support of
:if-not
, though rarely used, can cause problems.AdguardTeam/AdguardFilters#135390
A specific URL where the issue occurs.
https://www.colordic.org/gradation
Steps to Reproduce
colordic.org#?#footer > div.container > div.row:if-not(.text-muted)
.Expected behavior
:if-not()
should be converted to:not(:has())
Actual behavior
:if-not()
is ignored, causing false positive.uBO version
1.45.2
Browser name and version
Chrome 107.0.5304.107
Operating System and version
Windows 10
The text was updated successfully, but these errors were encountered: