Re: [csswg-drafts] [css-apply-rule] New advocate for the spec

@tabatkins, I think you’ve indicated that apply is a bad solution which should _not_ be implemented. If that’s accurate, would you mind placing a deprecated notice or something similar to the spec linked above?

Secondly, @tabatkins, do you think there might be an acceptable alternative to `@apply`, or do you think its best lightdom does not have such a feature? In the event there is hope for an alternative, @NicolasJEngler, would you accept moving forward with that, or would you still want an advocate for the `@apply` syntax specifically?

I am curious if something like `::part` or `::theme` can still be applied to the lightdom. I roughly understand its syntax may rely on a `part` attribute in HTML, but could that attribute become an identifier within CSS itself?

``` css
/* style any focused element with a "my-ident" part */
::theme(my-ident):focus {
  color: var(--one);
}

x-component {
  --one: blue;
  part: my-ident;
}
```

-- 
GitHub Notification of comment by jonathantneal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1047#issuecomment-301357572 using your GitHub account

Received on Monday, 15 May 2017 01:49:38 UTC