- From: Tab Atkins Jr. <notifications@github.com>
- Date: Wed, 02 Sep 2015 14:25:40 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Wednesday, 2 September 2015 21:26:11 UTC
Yeah, if we do add custom pseudo-elements, we need to do it namespaced, like `::part`. That said, the CSSWG provisionally accepted [my @apply rule draft](https://tabatkins.github.io/specs/css-apply-rule/), which makes pseudo-elements unnecessary for WC. That is, CSS variables handle *most* of the styling needs of WC already. They only fall down when you want to offer the ability to *arbitrarily* style an element; there are too many properties to make it reasonable to offer enough variables for styling. Pseudo-elements expose an element for arbitrary styling, so that's useful. The @apply rule *also* does that, tho, and via the existing mechanism of CSS custom properties, so there's probably no need to add custom pseudo-elements. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/300#issuecomment-137249060
Received on Wednesday, 2 September 2015 21:26:11 UTC