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
[selectors-4] misleading/incomplete Note: clarify that <forgiving-selector-list> does not work as expected with pseudo-elements #6792
Comments
The "implication" is just that pseudo-elements aren't valid in |
That's already implied in the spec:
#2284 is about making them valid (deferred to L5) Forbidding pseudo-elements in forgiving selector lists will also cover |
Just for clarity. Both specificity and pseudo-element handling of |
All right, text amended to clarify that you can't "upgrade" a selector list that contains pseudo-elements. |
The Note in Section 17.1 <forgiving-selector-list> and <forgiving-relative-selector-list> says:
There is however a much more serious implication than specificity when the selector list targets pseudo-elements. The following won’t work as naïvely expected (js-bin live example):
The text was updated successfully, but these errors were encountered: