- From: Peter Linss via GitHub <sysbot+gh@w3.org>
- Date: Tue, 24 Mar 2020 18:47:33 +0000
- To: public-css-archive@w3.org
I'm in favor of this change and also favor 3. I was considering something along these lines as a migration from the current syntax to `::--foo`. Hopefully the `:part()` syntax can eventually be deprecated. I still have issues with the current design of shadow parts using multiple part names as an ersatz class/pseudo-class mechanism. I'd much rather see us fix selectors, e.g. your example could be `::--day:--weekend:--us-holiday` (using custom state) or possibly something like `::--day(weekend us-holiday)`, but in that case 'weekend' and 'us-holiday' should probably not be part names but an additional property of the part. I don't have an issue with parts having multiple names, but that should only mean it can be selected as either of those names, e.g. <custom-day part="--day --weekend"> matches both `::--day` and `::--weekend`. -- GitHub Notification of comment by plinss Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4900#issuecomment-603440591 using your GitHub account
Received on Tuesday, 24 March 2020 18:47:35 UTC