Open Bug 1308080 Opened 3 years ago Updated 3 months ago
Re-implement move the first summary to the front on details' shadow tree
47 bytes, text/x-phabricator-request
|Details | Review|
The spec says this for details element. The element's shadow tree is expected to take the element's first child summary element, if any, and place it in a first block box container, and then take the element's remaining descendants, if any, and place them in a second block box container. https://html.spec.whatwg.org/multipage/rendering.html#the-details-and-summary-elements Currently, we do this on frame construction list in nsCSSFrameConstructor::AddFrameConstructionItemsInternal(). We should re-implement this behavior on details' shadow tree.
You need to log in before you can comment on or make changes to this bug.