<?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>314064</bug_id>
          
          <creation_ts>2026-05-05 03:35:08 -0700</creation_ts>
          <short_desc>[GTK][WPE] Skia Compositor: use the surface rectangle as destination when painting intermediate surfaces</short_desc>
          <delta_ts>2026-05-05 04:47:25 -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>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Carlos Garcia Campos">cgarcia</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2207585</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2026-05-05 03:35:08 -0700</bug_when>
    <thetext>The surface rectangle is the intersection of the contents rectangle and current clip, if it&apos;s smaller than the contents rect when using the contents rect as destination of drawImageRect in the parent canvas the contents are scaled. We should use the surface rect as the destination rectangle to make sure the size matches the image size and it&apos;s never scaled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2207586</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2026-05-05 03:38:18 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/64253</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2207597</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-05-05 04:47:22 -0700</bug_when>
    <thetext>Committed 312607@main (5cf17abd2c46): &lt;https://commits.webkit.org/312607@main&gt;

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

    </bug>

</bugzilla>