Csswg-drafts: [css-shadow-parts] Separate the mechanism to define part and theme

Created on 10 Nov 2017  路  3Comments  路  Source: w3c/csswg-drafts

We would like the mechanism to define ::part and ::theme be separated to let components decide which parts should be theme-able.

css-shadow-parts-1

Most helpful comment

I'm in favor of this change :) would solve my use case as well :)

All 3 comments

Strawman proposal would be to add two content attributes: part and theme.

Yeah, I think I agree with this. I'd like to get a Polymer opinion, but I'm inclined to accept right now.

I'm in favor of this change :) would solve my use case as well :)

Was this page helpful?
0 / 5 - 0 ratings