Re: [csswg-drafts] `::details-content` vs `details::part(content)` (#9951)

I think the only reason `::part(name)` has been designed as it is to avoid author names impeding with future built-ins. In fact, WebKit names some existing pseudo-elements like `::placeholder` or `::file-selector-button` to "user-agent parts".

If the syntax for `::part(name)` was instead `::--name`, this issue to me is conceptually equivalent to asking to use `::--details-content` instead of `::details-content`... I don't think it really makes a lot of sense.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 17 February 2024 05:55:10 UTC