Bug 264777

Summary: Use correct destination rectangle in FEComposite w/ type='in'
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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
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
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.