KEMBAR78
[web-animations-1] Reject old-style `:before` pseudo-element syntax · Issue #4472 · w3c/csswg-drafts · GitHub
Skip to content

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

@birtles

Description

@birtles

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions