WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 293962
264777
Use correct destination rectangle in FEComposite w/ type='in'
https://bugs.webkit.org/show_bug.cgi?id=264777
Summary
Use correct destination rectangle in FEComposite w/ type='in'
Ahmad Saleem
Reported
2023-11-13 14:58:13 PST
Hi Team, While going through Blink's commit, I came across another failing test case: Test Case (from Chrome bug):
https://jsfiddle.net/jhmsh/
^ Fails in Safari / WebKit ToT only. While Chrome Canary 121 and Firefox Nightly 121 are same. Blink Commit:
https://chromium.googlesource.com/chromium/blink/+/436fb328f44f79caa4c8a8f5804ca305467f026b
Just raising so we can fix it. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2023-11-14 14:01:52 PST
WebKit Source:
https://github.com/WebKit/WebKit/blob/7d27cdd3e980f1d2de99a9525eee9efba8929a07/Source/WebCore/platform/graphics/filters/software/FECompositeSoftwareApplier.cpp#L183
Ahmad Saleem
Comment 2
2023-11-14 14:21:56 PST
Something along the lines - maybe?: destinationRect.moveBy(-result.absoluteImageRect().location()); filterContext.drawImageBuffer(*inputImage2, destinationRect, FloatRect(source2Rect)); filterContext.drawImageBuffer(*inputImage, destinationRect, FloatRect(sourceRect), { CompositeOperator::SourceIn });
Radar WebKit Bug Importer
Comment 3
2023-11-20 14:59:12 PST
<
rdar://problem/118663125
>
Ahmad Saleem
Comment 4
2025-09-16 17:51:21 PDT
It seems to be fixed on Safari 26 Release while Safari 18.6 is still broken.
Said Abou-Hallawa
Comment 5
2025-09-17 03:45:58 PDT
This is a progression of
295771@main
. See
bug 293962
. *** This bug has been marked as a duplicate of
bug 293962
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug