Re: [w3ctag/design-reviews] CSS ::part and ::theme pseudo elements (#230)

I don't think my reactions changed significantly by reading the [spec](https://drafts.csswg.org/css-shadow-parts/), although:
* the spec made the part-forwarding microsyntax feel simpler.  Though one thought was that perhaps forwarding a part from a nested component should have a slightly more separate syntax from declaring a part.  (This was a reaction to the spec's "ISSUE 4: Want a way to forward a name with the same name, without repeating the name (currently requires `foo => foo`).")  That is, if `forward-parts` was an attribute separate from `part` then `forward-parts="id1, id2 => id3"` would expose part `id1` from the inner component on the outer one, with the same name.
* the spec explains `::theme()` in a very different way from the explainer, and it's not yet clear to me how interesting this difference is.  The text is very formal, without a summary explanation, so I've yet to dig into the details (e.g., what a [mode](https://dom.spec.whatwg.org/#dom-shadowroot-mode) of [`closed`](https://dom.spec.whatwg.org/#dom-shadowrootmode-closed) means, which I don't think was covered in the explainer).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/230#issuecomment-363624986

Received on Wednesday, 7 February 2018 01:31:03 UTC