Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Support additional pseudo-elements with arguments? #33
There are drafts for CSS extensions that use arguments to pseudo-element selectors (ie
Rather than something like hardcoding lib/parser/type/PseudoElement.js#L20 what if:
Thanks again for all the parsing work!
Yep, I thought about it, but had no any use case. I don't see any reason for any pseudo-element to be a functional-pseudo. Even it's not a standard yet ;)
Yes, I believe it will be available later by setting custom consumer for pseudos, functions and at-rules. It's not ready yet, but it's likely to appear in future releases.