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

Re: [csswg-drafts] [css-shadow-parts-1] Can class name selectors apply to a part? (#3431)

From: Jan Miksovsky via GitHub <sysbot+gh@w3.org>
Date: Wed, 12 Dec 2018 03:13:45 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-446446459-1544584424-sysbot+gh@w3.org>
@fergald I'd suggested attributes so that someone could target specific values for non-binary attributes via attribute selectors: e.g., `::part(foo)[attr="value"]`.

I can certainly understand why multiple part names would be simpler. I'll do a preliminary review of our components looking for cases where that might not be sufficient.

GitHub Notification of comment by JanMiksovsky
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3431#issuecomment-446446459 using your GitHub account
Received on Wednesday, 12 December 2018 03:13:47 UTC

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