🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

Docs: improve <details> usage and styling notes - #45952

Merged
Josh-Cena merged 3 commits into
mdn:mainfrom
BHUVANSH855:fix-42226
Oct 16, 2026
Merged

Josh-Cena merged 3 commits into
mdn:mainfrom
BHUVANSH855:fix-42226

Conversation

@BHUVANSH855

Copy link
Copy Markdown
Contributor

Summary

  • Clarify the <details> usage notes.
  • Document ::details-content for open/close animations.
  • Add a dedicated styling section for <details> and <summary>.
  • Use the correct cssxref syntax for <display-listitem>.

Related

Follow-up to #45218
Fixes #42226

@github-actions github-actions Bot added Content:HTML Hypertext Markup Language docs size/s [PR only] 6-50 LoC changed labels Oct 2, 2026
@github-actions

github-actions Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Preview URLs (1 page)

(comment last updated: 2026-10-16 19:18:37)

@BHUVANSH855

Copy link
Copy Markdown
Contributor Author

cc @wbamberg @Josh-Cena

@Josh-Cena
Josh-Cena marked this pull request as ready for review October 3, 2026 01:27
@Josh-Cena
Josh-Cena requested a review from a team as a code owner October 3, 2026 01:27
@Josh-Cena
Josh-Cena requested review from estelle and removed request for a team October 3, 2026 01:27

@Josh-Cena Josh-Cena left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@Josh-Cena
Josh-Cena merged commit 44a1a03 into mdn:main Oct 16, 2026
9 checks passed
@BHUVANSH855
BHUVANSH855 deleted the fix-42226 branch October 16, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:HTML Hypertext Markup Language docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

<display> docs say open/close cannot be animated; ::display-content (new) allows animation

3 participants