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

Re: [csswg-drafts] [css-shadow-parts] consider moving part-mapping to style rules

From: fergald via GitHub <sysbot+gh@w3.org>
Date: Tue, 17 Jul 2018 01:31:43 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-405430624-1531791102-sysbot+gh@w3.org>
@caridy I think your example in 'equivalence" is not correct, style= shouldn't be a selector-declaration pair, it should just be the inside of the declaration. So, it would have to be `<x-foo style="@other-name(outer)">` which is not remapping, it's just naming, so equivalent to `<x-foo part="outer">`. To be able to do the remapping in-place you would need to go with the version where the inner and outer names are included inside the declaration, `<x-foo style="@partmap(inner, outer)">` and when you use it in a stylesheet you select the host element without using ::part(inner).

GitHub Notification of comment by fergald
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2904#issuecomment-405430624 using your GitHub account
Received on Tuesday, 17 July 2018 01:31:46 UTC

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