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

> `::part()` is a web developer namespace

It's a namespace for the creator of the shadow, which can be the author or the UA. It's different to `data-*` attributes or CSS custom properties, where the author and the UA share a single namespace.

> For built-in elements the way they work should remain up to implementations

But the spec mandates a shadow tree, and this is already exposed to authors. E.g. if they use `details::before`, it appears before the summary, not at the beginning of the details content.

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


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

Received on Friday, 8 March 2024 08:16:50 UTC