Bug 186561

Summary: List bullet disappears when details / summary element is clicked
Product: WebKit Reporter: Tiago <bugs.webkit.id>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Minor CC: cdumez, karlcow, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari 11   
Hardware: Mac   
OS: OS X 10.11   
Attachments:
Description Flags
List item bullet disappears on summary click
none
rendering in Safari, firefox, chrome none

Description Tiago 2018-06-12 07:15:25 PDT
Created attachment 342532 [details]
List item bullet disappears on summary click

When an ordered or unordered list item contains a details and summary tag, and when the summary is clicked to reveal its content, the list item bullet disappears.

To reproduce, open this simple HTML file in Safari Version 11.0.2 (11604.4.7.1.6), and click on "Summary":

<html>
<body>

<ol>
  <li>
    <details>
      <summary>Summary</summary>
      <p>Content</p>
    </details>
  </li>
</ol>

</body>
</html>

The "1." list item bullet should disappear.
Comment 1 Radar WebKit Bug Importer 2018-06-14 13:33:59 PDT
<rdar://problem/41136829>
Comment 2 Karl Dubost 2022-08-21 19:17:13 PDT
Created attachment 461781 [details]
rendering in Safari, firefox, chrome

This is working the same in Safari, Firefox and Chrome.
Comment 3 Karl Dubost 2022-08-21 19:18:24 PDT
That seems to be working as expected.