-
Notifications
You must be signed in to change notification settings - Fork 41
webkit-prefixed pseudo-elements are always treated valid in WebKit and Blink #103
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
Comments
Note for the spec: Blink seems to lowercase the pseudo-element string. This behavior should probably also be put into the spec if we going to do that. |
For the purposes of @fantasai @tabatkins it seems we should put this "always treat webkit-prefixed pseudo-elements as valid" straight into the Selectors specification, no? |
FWIW, several a new web-platform test for this is being added in web-platform-tests/wpt#12673. |
+1, if possible. |
Sigh, yeah. |
@tabatkins cool, thanks. Where is serializing of selectors defined? |
Assuming that sticks, looks like we can close here. Thanks everyone! |
I think the serializing definition needs to be updated as these prefixed pseudo-elements get lowercased (not defined). I also wonder if since they are not technically psuedo-elements some other language needs to be added, but maybe it's okay. |
CSSOM needs to define in general that pseudo-class/element names are lowercased; these specific pseudos aren't special in that regard. (See http://software.hixie.ch/utilities/js/live-dom-viewer/saved/6160.) So that's an issue on OM, but nothing that should stop this specific issue from closing.
We don't care what they are in the tree (which is "nothing"), we care about what they are in the context of Selectors, which is definitely "pseudo-element selectors". No new terminology needs to be added. |
@tabatkins I don't think element names are lowercased? And for pseudo-elements it's not a problem at the moment I think, as it says to return the name of the pseudo-element, which is always in lowercase in the specifications. |
Sorry, by "pseudo-class/element" I was distributing the "pseudo-" over the slash; I was referring to pseudo-elements, not regular elements. ^_^ I see what you mean about needing to specify lowercasing, tho. |
And I've gone ahead and specified the serialization behavior in Selectors, since this is the only place that needs special handling. So you can go ahead and re-close this now, @annevk. |
Thanks! |
w3c/csswg-drafts#2156 (comment)
The text was updated successfully, but these errors were encountered: