[csswg-drafts] [css-pseudo-4] Should CSSPseudoElement.type value include the "::" prefix?

birtles has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-pseudo-4] Should CSSPseudoElement.type value include the "::" prefix? ==
When I implemented CSSPseudoElement.type in Gecko, the advice I was given was to use the "::" prefix for "::before" and "::after". That would match the naming we using for [`TransitionEvent.pseudoElement`](https://drafts.csswg.org/css-transitions/#Events-TransitionEvent-pseudoElement) and [`AnimationElement.pseudoElement`](https://drafts.csswg.org/css-animations/#dom-animationevent-pseudoelement) at least.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2815 using your GitHub account

Received on Monday, 25 June 2018 23:05:35 UTC