-
Notifications
You must be signed in to change notification settings - Fork 29
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
Unknown pseudo-class root #68
Comments
I am afraid, it's not supported at the moment. I am guessing your use case is such that your root element is not |
Ah, I suspected as much. Something like that, yeah. I'm actually writing an Atom feed generator (PolyFeed!), and in the configuration file I have an option to select the HTML elements that should form the basis of the items in the Atom feed. For each element there are then a number of other different selectors to match against the elements that contain various pieces of information (e.g. the author's name, for example), which I have separate options to specify the attribute on the selected element to extract the information from. I want to be able to hit against the 'root' element here, as I'm making these secondary matches with a In theory, I could do this by testing |
Thanks for the detailed explanation, @sbrl, and I think I see where you are going with this. While adding support for |
Ah, I see. Looks like it doesn't work in the way I thought it would. I didn't realise that I'll leave this issue open as a feature request anyway though. |
Hey!
I've got a particular use-case whereby I sometimes need to select against the
:root
element, but Fizzler doesn't appear to support it:The text was updated successfully, but these errors were encountered: