Skip to content
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

[web-animations-1] Reject old-style :before pseudo-element syntax #4472

Open
birtles opened this issue Oct 30, 2019 · 1 comment
Open

[web-animations-1] Reject old-style :before pseudo-element syntax #4472

birtles opened this issue Oct 30, 2019 · 1 comment

Comments

@birtles
Copy link
Contributor

birtles commented Oct 30, 2019

Background is the discussion in #4437.

As of that change, KeyframeEffect now has a pseudoElement member whose syntax is defined by Selectors Level 4.

That definition requires UAs to accept the old single colon syntax (:before) as well as the double colon syntax (::before).

I was under the impression we wanted to phase that historical artifact out of the web platform so that new APIs like this should reject :before and only accept ::before.

@Loirooriol
Copy link
Contributor

This seems also relevant for Element.pseudo().

fantasai added a commit that referenced this issue Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants