W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2019

Re: [csswg-drafts] [css-shadow-parts] What's the purpose of multiple idents in ::part()? (#4412)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Fri, 11 Oct 2019 20:26:06 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-541212009-1570825566-sysbot+gh@w3.org>
Okay, re-found the :state() explainer <https://github.com/w3c/webcomponents/blob/gh-pages/proposals/custom-states-and-state-pseudo-class.md>

Note the further distinction between ::part() and :state() - ::part() is about classifying a sub-component that's inside of you, :state() is about classifying *yourself* (in a way that is guaranteed to not clash with whatever your parent component is doing to your attributes). They're playing in *similar* spaces, but doing quite different things, and should not be understood as competing in any way.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4412#issuecomment-541212009 using your GitHub account
Received on Friday, 11 October 2019 20:26:08 UTC

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