<?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>277573</bug_id>
          
          <creation_ts>2024-08-02 16:39:19 -0700</creation_ts>
          <short_desc>REGRESSION (Safari 18): details/summary with content-visibility:auto doesn&apos;t expand</short_desc>
          <delta_ts>2024-11-23 11:32:32 -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>CSS</component>
          <version>Safari 18</version>
          <rep_platform>Mac (Apple Silicon)</rep_platform>
          <op_sys>Unspecified</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>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>252223</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Bogdan Brinza">bogdan.brinza</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>karlcow</cc>
    
    <cc>koivisto</cc>
    
    <cc>mike</cc>
    
    <cc>ntim</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2050416</commentid>
    <comment_count>0</comment_count>
      <attachid>472049</attachid>
    <who name="Bogdan Brinza">bogdan.brinza</who>
    <bug_when>2024-08-02 16:39:19 -0700</bug_when>
    <thetext>Created attachment 472049
Minimal repro

Noticed that in Safari 18 beta 1-3 on macOS 14.6 (23G80).

See the attached repro - when details element has content-visibility: auto - you cannot expand summary to see details. Works in Firefox, Chrome and worked in Safari 17. You can make details visible with Dev Tools if you force style invalidation (e.g. toggle some property).

By the way, Safari 18 is missing from Feedback Assistant, only 16 and 17 are present.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2050775</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-08-05 16:31:24 -0700</bug_when>
    <thetext>&lt;rdar://problem/133251469&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2077301</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2024-11-23 11:32:32 -0800</bug_when>
    <thetext>Fixed by bug 157323 which started using content-visibility to implement showing/hiding of details contents.

*** This bug has been marked as a duplicate of bug 157323 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>472049</attachid>
            <date>2024-08-02 16:39:19 -0700</date>
            <delta_ts>2024-08-02 16:39:19 -0700</delta_ts>
            <desc>Minimal repro</desc>
            <filename>details.html</filename>
            <type>text/html</type>
            <size>91</size>
            <attacher name="Bogdan Brinza">bogdan.brinza</attacher>
            
              <data encoding="base64">PGRldGFpbHMgc3R5bGU9ImNvbnRlbnQtdmlzaWJpbGl0eTogYXV0bzsiPgoJPHN1bW1hcnk+U3Vt
bWFyeTwvc3VtbWFyeT4KCURldGFpbHMKPC9kZXRhaWxzPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>