DeadDomainsLinter
DeadDomainsLinter copied to clipboard
Broken Extended CSS rule with `:upward()`
spac1.ru,spcs.social#?#a[title="Реклама"]:upward(1)
:upward(1) => :upward()
Looks like a bug in AGTree btw
CC @scripthunter7
@ameshkov Yes, this is an AGTree bug. We have a custom generate function for CSS Tree nodes in AGTree v1.x.x (because by default CSS Tree omit all spaces, but we want generate some formatted CSS), and Number node is missed in that function
In AGTree v2, we don't use CSS Tree directly. So parsing happens correctly, but custom generator has a bug.
Should I fix v1.x.x for now, until we release v2?
No need, one day we'll upgrade to AGTree v2 :)