<?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>298725</bug_id>
          
          <creation_ts>2025-09-11 09:39:40 -0700</creation_ts>
          <short_desc>[CG] radius of CGGaussianBlurStyle is not in the BaseCTM coordinates</short_desc>
          <delta_ts>2025-09-12 11:14:31 -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>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>
          
          
          <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="Said Abou-Hallawa">sabouhallawa</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>2142373</commentid>
    <comment_count>0</comment_count>
      <attachid>476698</attachid>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2025-09-11 09:39:40 -0700</bug_when>
    <thetext>Created attachment 476698
test case

1. Lunch ToT WebKit on a Retina display 
2. Enable the internal feature &quot;GraphicsContext Blur Filter Rendering&quot;
3. Open the attached test case.
4. &quot;Disable Full Page Accelerated Drawing&quot; From Debug/Drawing Compositing Flags
5. Compare the display of the accelerated drawing versus the unaccelerated drawing

Results: The unaccelerated drawing is incorrect. The blur radius is doubled for unaccelerated drawing.

In /299740@main, the radius of the CGGaussianBlurStyle was scaled by the device scale factor as a work around for a CG bug on accelerated drawing. The radius should not be scaled by the device scale factor. In other words it should be in the BaseCTM coordinates. This is the behavior of the unaccelerated drawing. So the workaround should stay for the accelerated drawing only till the CG bug is fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2142376</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-09-11 09:40:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/160383014&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2142378</commentid>
    <comment_count>2</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2025-09-11 09:49:57 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/50609</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2142633</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-09-12 11:14:29 -0700</bug_when>
    <thetext>Committed 299903@main (763d74646247): &lt;https://commits.webkit.org/299903@main&gt;

Reviewed commits have been landed. Closing PR #50609 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>476698</attachid>
            <date>2025-09-11 09:39:40 -0700</date>
            <delta_ts>2025-09-11 09:39:40 -0700</delta_ts>
            <desc>test case</desc>
            <filename>test-blur.html</filename>
            <type>text/html</type>
            <size>865</size>
            <attacher name="Said Abou-Hallawa">sabouhallawa</attacher>
            
              <data encoding="base64">PGh0bWw+CjxzdHlsZT4KICAgIC5ib3ggewogICAgICAgIHdpZHRoOiAxNTBweDsKICAgICAgICBo
ZWlnaHQ6IDEwMHB4OwogICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jazsKICAgICAgICBtYXJn
aW46ID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