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

As a library maintainer, I find the new syntax questionable in terms of developer experience.

```css
::part(form-field):state(pristine)
```
👍  human friendly
👍  self-explanatory
👎  more verbose

```css
::--form-field:--pristine
```
👎  confusing
👍 somewhat BEM-ish
👍 fewer bytes


Off-topic: what if we make it even more BEM-ish? 🤔  

```css
::__form-field:--pristine
```

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

Received on Thursday, 7 May 2020 08:34:26 UTC