You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
document ::details-content pseudo-element and stylability of <details> element #559
whatwg/html#10265 is specifying changes to HTML that make it easier to style the <details> element. These changes include defining how HTML supports the ::details-content pseudo-element which is defined in CSS. In addition to the pseudo-element, probably the relevant thing that should be documented is the internal structure of the <details> element which makes using the pseudo-element useful and interoperable across layout modes.
Browser support
Not yet available in any stable browsers, though I'm working on implementing it in Chrome.
I'm going to close this as done now. If you think that's a mistake or there's still content missing on the page, feel free to let us know here. Thank you :)
Activity
bsmth commentedon May 6, 2025
Thanks for raising this. There is a page for the pseudo-element here: https://developer.mozilla.org/en-US/docs/Web/CSS/::details-content
Added in this PR:
::details-contentpage content#37118bsmth commentedon Jul 18, 2025
I'm going to close this as done now. If you think that's a mistake or there's still content missing on the page, feel free to let us know here. Thank you :)