[Webkit-unassigned] [Bug 157323] Implement <details>/<summary> disclosure triangle as a list item

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 19 05:28:46 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=157323

--- Comment #13 from Karl Dubost <karlcow at apple.com> ---
https://searchfox.org/wubkat/rev/340573c924b370891b7a0794ef39d4995d3670ee/Source/WebCore/html/HTMLSummaryElement.cpp#67-71

:) 

```
RenderPtr<RenderElement> HTMLSummaryElement::createElementRenderer(RenderStyle&& style, const RenderTreePosition&)
{
    // <summary> elements with display:list-item should not be rendered as list items because they'd end up with two markers before the text (one from summary element and the other as a list item).
    return RenderElement::createFor(*this, WTFMove(style), { RenderElement::ConstructBlockLevelRendererFor::ListItem, RenderElement::ConstructBlockLevelRendererFor::Inline, RenderElement::ConstructBlockLevelRendererFor::TableOrTablePart });
}
```

-- 
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/20220819/e2fe65c3/attachment-0001.htm>


More information about the webkit-unassigned mailing list