-
Notifications
You must be signed in to change notification settings - Fork 9
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
Remake :upward() after Sizzle replacement #111
Comments
merged into #110 |
I have another one idea with upward:
and this is needed for AdGuard only:
|
It's hard for a layman like me to understand why supporting :upward is so hard when AG already supports :nth-ancestor. |
|
Pseudo-classes like |
@ameshkov Thx for clarification! |
What is the reason of this limitation?
I mean that in third party filters there are few rules like this
#?#selector:upward(1) + anotherSelector
, so these rules will not work.For example in Swedish filter:
https://github.com/AdguardTeam/FiltersRegistry/blob/6cce7c92672856220f256e85a26a2494196e35c3/filters/ThirdParty/filter_243_FrellwitSwedish/diff.txt#L200
Originally posted by @AdamWr in #102 (comment)
The text was updated successfully, but these errors were encountered: