[Webkit-unassigned] [Bug 275211] New: support ::details-content pseudo-class and improved styling of <details> element
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 6 08:01:43 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=275211
Bug ID: 275211
Summary: support ::details-content pseudo-class and improved
styling of <details> element
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dbaron at dbaron.org
https://github.com/whatwg/html/pull/10265 is proposing changes to specify the rendering of the <details> element in more detail. (See also https://github.com/WebKit/standards-positions/issues/351 .)
Some of these changes match existing implementations. However, I'm aware of a number of things that would need to change in WebKit to match these changes:
* the existing changes in bug 157323 and bug 228843 would be needed to match what is already in the HTML spec
* the display property would need to be allowed to change more generally on both the <details> and also (I think) <summary> elements
* the ::details-content pseudo-element specified in https://drafts.csswg.org/css-pseudo-4/#details-content-pseudo would need to be implemented and made to match the correct element. (There may be some work here to implement the "part-like pseudo-element" concept.)
* the default display of the internal <slot> matched by the ::details-content pseudo-element would need to change to block rather than contents. (This is the one part here that involves compatibility risk, and it's possible we may need to revert this piece.)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240606/427ff819/attachment-0001.htm>
More information about the webkit-unassigned
mailing list