<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>264381</bug_id>
          
          <creation_ts>2023-11-07 20:06:21 -0800</creation_ts>
          <short_desc>summary (details) display values other than list-item should hide marker</short_desc>
          <delta_ts>2024-11-23 11:31:05 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>Safari 17</version>
          <rep_platform>Mac (Apple Silicon)</rep_platform>
          <op_sys>macOS 14</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>157323</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>GoodFirstBug, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>252223</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Albert Scheiner">vertigoback</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>dbaron</cc>
    
    <cc>karlcow</cc>
    
    <cc>ntim</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1990719</commentid>
    <comment_count>0</comment_count>
    <who name="Albert Scheiner">vertigoback</who>
    <bug_when>2023-11-07 20:06:21 -0800</bug_when>
    <thetext>I was just about to implement a &lt;details&gt; + &lt;summary&gt; element where the summary is only as wide as its content, but on its own line.

I actually did not want to hide the ::marker, but (1) having the summary is only as wide as its content and (2) show the marker.
This is not possible in Webkit (Safari 17) due to &quot;inline list-item&quot; not being supported:
https://bugs.webkit.org/show_bug.cgi?id=224809

Having the display property of a &lt;summary&gt; element set to something else but &quot;list-item&quot; does not show the ::marker arrow in Firefox and Chromium, but Safari does. 
I assume that this is what is suppose to happen.

Here is a pen: https://codepen.io/scheinercc/pen/jOdBrEq

So either way I set display to any flow value Webkit renders differently from the other engines.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991039</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-11-08 17:40:26 -0800</bug_when>
    <thetext>A band aid fix is pretty straightforward here: 

https://searchfox.org/wubkat/rev/17d1d747ad3bb45ca5d2f0c735778816a3cd701f/Source/WebCore/html/shadow/DetailsMarkerControl.cpp#64

can just check for the display value.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992655</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-11-14 20:07:21 -0800</bug_when>
    <thetext>&lt;rdar://problem/118433698&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2027175</commentid>
    <comment_count>3</comment_count>
    <who name="L. David Baron">dbaron</who>
    <bug_when>2024-04-09 09:21:27 -0700</bug_when>
    <thetext>The larger underlying difference here is covered by bug 157323.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2077299</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2024-11-23 11:31:05 -0800</bug_when>
    <thetext>Fixed by bug 157323

*** This bug has been marked as a duplicate of bug 157323 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>