<?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>285935</bug_id>
          
          <creation_ts>2025-01-14 13:29:05 -0800</creation_ts>
          <short_desc>REGRESSION(270688@main): Text is not displayed if it is formatted with OpenType-SVG color fonts</short_desc>
          <delta_ts>2025-01-15 17:48:45 -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>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=221744</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=260181</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Said Abou-Hallawa">sabouhallawa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</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>2087189</commentid>
    <comment_count>0</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2025-01-14 13:29:05 -0800</bug_when>
    <thetext>Open lennypickettmusic.com

Result: The navigation bar with the text &quot;LENNY PICKETT MUSIC&quot; is not displayed.

drawDisplayListItems() was added to GraphicsContext and its subclasses in 270688@main to transfer a DisplayList in one IPC to GPUProcess. It turned out this is problematic when RenderingResources are referenced from the items.

We do not transfer local ImageBuffers to GPUProcess and DisplayList::Recorder should fail to record these items.  It is supposed to fall back to GraphicsContext which transfers the local ImageBuffers to ShareableBitmaps before calling the corresponding NativeImage functions.

The problem is this does not happen with individual items in DisplayList::Recorder::drawDisplayListItems(). We keep them referencing ImageBuffers although RemoteDisplayListRecorderProxy::recordResourceUse() fails to record the local ImageBuffers.

The fix is to revert 270688@main. Reverting this change should not have an effect on MotionMark - Design sub-test. All the text runs in this sub-tests have only one DrawDecomposedGlyphs item which references a Font resource. So replaying back this item in WebProcess and sending it to GPUP individually should be the same as transferring the one-item list and replaying it back in GPUProcess.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2087193</commentid>
    <comment_count>1</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2025-01-14 13:29:40 -0800</bug_when>
    <thetext>rdar://137496217</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2087249</commentid>
    <comment_count>2</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2025-01-14 15:17:19 -0800</bug_when>
    <thetext>https://github.com/WebKit/WebKit/pull/39016</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2087641</commentid>
    <comment_count>3</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2025-01-15 17:48:45 -0800</bug_when>
    <thetext>Committed 288980@main (37ebf36): https://commits.webkit.org/288980@main

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

    </bug>

</bugzilla>