W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

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

From: Brian Birtles via GitHub <sysbot+gh@w3.org>
Date: Mon, 25 Jun 2018 23:05:28 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-335599047-1529967927-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:31 UTC