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

> I wonder if ::--(foo bar) would work for the complex cases?

Hmm, it *would* work parsing-wise — that's a `--()` function, which is allowed by Syntax.

It looks a little clunky to me, but that might be a kneejerk. I suppose I'm not opposed to it. Is that something you want to champion, then?

----

**@web-padawan**: Note how, if these were built-in pseudos, you'd spell them `::form-field:pristine`. Doing `::--form-field:--pristine` keeps us as close to built-ins as possible without polluting the built-in namespace.


-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4900#issuecomment-625353750 using your GitHub account

Received on Thursday, 7 May 2020 16:16:17 UTC