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

@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