Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improvements to <details> styling (widget structure) #965

Closed
1 task done
dbaron opened this issue Jun 5, 2024 · 3 comments
Closed
1 task done

improvements to <details> styling (widget structure) #965

dbaron opened this issue Jun 5, 2024 · 3 comments
Assignees
Labels
Resolution: satisfied The TAG is satisfied with this design Topic: CSS Topic: HTML

Comments

@dbaron
Copy link
Member

dbaron commented Jun 5, 2024

こんにちは TAG-さん!

I'm requesting a TAG review of improvements to <details> styling that address styling of the widget structure.

This is a set of changes to make the <details> and <summary> elements more stylable, with the overall goal of making issues with styleability no longer be an obstacle that prevents the use of HTML's built-in elements for this type of widget.

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • Relevant time constraints or deadlines: hoping to ship this sooner rather than later
  • The group where the work on this specification is currently being done: Mix of Open UI Community Group, CSS Working Group, and WHATWG.
  • The group where standardization of this work is intended to be done (if current group is a community group or other incubation venue): CSS Working Group and WHATWG
  • Major unresolved issues with or opposition to this specification: No major unresolved issues currently known.
  • This work is being funded by: Google.
@matatk matatk self-assigned this Jun 5, 2024
@torgo torgo added this to the 2024-06-10-week milestone Jun 5, 2024
@LeaVerou LeaVerou self-assigned this Jun 7, 2024
@plinss plinss modified the milestones: 2024-06-10-week, 2024-06-10-week:c Jun 10, 2024
@torgo torgo modified the milestones: 2024-06-10-week:c, 2024-06-17-week:c Jun 16, 2024
@LeaVerou
Copy link
Member

+1 from me, this solves a longstanding author pain point. The spec should clarify what pseudo-classes and pseudo-elements can be used on ::details-content (apologies if it's there, I didn't see it). See ::part() for an example of wording.

@dbaron
Copy link
Member Author

dbaron commented Jun 17, 2024

The definition of ::details-content refers to the definition of a new part-like pseudo-element term, which is intended to make the rules for that equivalent to ::part(). Two of the things I'm hoping to do in the next few weeks are (1) implement that equivalence in the Chrome implementation and, while doing so, (2) verify that the spec actually makes the concepts match correctly.

@martinthomson
Copy link
Contributor

@matatk, @plinss, and I discussed this one. Like @LeaVerou, we're enthusiastic about these changes.

@martinthomson martinthomson added Resolution: satisfied The TAG is satisfied with this design Topic: CSS labels Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: satisfied The TAG is satisfied with this design Topic: CSS Topic: HTML
Projects
None yet
Development

No branches or pull requests

7 participants