W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2020

Re: [csswg-drafts] [css-shadow-parts] Unifying ::part() and ::--foo (#4900)

From: Maciej Stachowiak via GitHub <sysbot+gh@w3.org>
Date: Thu, 07 May 2020 21:56:36 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-625517336-1588888595-sysbot+gh@w3.org>
> Is that something you want to champion, then?

I don't know. It looks weird to me, but all the colon/dash prefixed things look weird to me, so that doesn't mean much. I do think it would be nice if we could avoid two aliases for the same thing.

Side note: is it useful to do what ::part(foo bar:baz) does for custom parts for built-in pseudo-elements? I could totally imagine a native date picking exposing parts similar to what you had for your custom calendar, but it would apparently have no way to solve the same problem. If so, perhaps what's really missing is a generic CSS syntax for pseudo-element multi matching?

GitHub Notification of comment by othermaciej
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4900#issuecomment-625517336 using your GitHub account
Received on Thursday, 7 May 2020 21:56:38 UTC

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