<?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>289363</bug_id>
          
          <creation_ts>2025-03-07 14:07:45 -0800</creation_ts>
          <short_desc>[HDR] Enable HDR display for CSS images</short_desc>
          <delta_ts>2025-03-18 08:08:26 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Images</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=287985</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>282299</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Said Abou-Hallawa">sabouhallawa</reporter>
          <assigned_to name="Said Abou-Hallawa">sabouhallawa</assigned_to>
          <cc>sabouhallawa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2101483</commentid>
    <comment_count>0</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2025-03-07 14:07:45 -0800</bug_when>
    <thetext>In 290804@main, HDR display was disabled completely for CSS images. The goal was to have consistent display for the same image regardless whether it is displayed inside an HDR layer or SDR layer. The performance of the render tree scanning was a concern also. Scanning all the CSS images in a layer will add cost for PLT.

This turned out to be incorrect approach. Many images are displayed through the CSS property background-image: url(...);. For example https://gregbenzphotography.com/hdr-gain-map-gallery/ will not display HDR content for all the HDR images because all of the images in the images are CSS images.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2101484</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-03-07 14:08:12 -0800</bug_when>
    <thetext>&lt;rdar://problem/146509866&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2101485</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-03-07 14:19:55 -0800</bug_when>
    <thetext>&lt;rdar://problem/146510819&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2102747</commentid>
    <comment_count>3</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2025-03-12 18:33:56 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/42362</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103677</commentid>
    <comment_count>4</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2025-03-16 18:53:39 -0700</bug_when>
    <thetext>*** Bug 288163 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2104026</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-03-18 08:08:24 -0700</bug_when>
    <thetext>Committed 292305@main (c680aebea33b): &lt;https://commits.webkit.org/292305@main&gt;

Reviewed commits have been landed. Closing PR #42362 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>