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

> Pseudo-elements always inherit from its originating element

I'm rather curious as to why there is no `<details-content>` element in HTML, and if it existed, wouldn't there no longer be a need for the `::details-content` pseudo-element?

As a CSS author, API consistency is important, so I support `::details-content`.

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


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

Received on Saturday, 18 May 2024 06:52:17 UTC