Bug 278551

Summary: [SVG] SVG Mask code needs to distinguish repaint rect and bounding box
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: SVGAssignee: Taher <taher_ali>
Status: RESOLVED FIXED    
Severity: Normal CC: sabouhallawa, simon.fraser, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=263351
https://bugs.webkit.org/show_bug.cgi?id=277624

Yusuke Suzuki
Reported 2024-08-22 19:31:17 PDT
There are places mixing repaint rect and bounding box. But repaint rect is used for damage computation and it does not need to be accurate, but bounding box needs to be.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-08-23 09:57:47 PDT
Said Abou-Hallawa
Comment 2 2024-08-23 10:50:30 PDT
This is related to bug 263351 and bug 277624. See the FIXME comments in RenderSVGResourceMasker.cpp and LegacyRenderSVGResourceMasker.cpp.
Taher
Comment 3 2025-12-23 18:43:45 PST
EWS
Comment 4 2025-12-26 03:55:21 PST
Committed 304945@main (0a40ee094081): <https://commits.webkit.org/304945@main> Reviewed commits have been landed. Closing PR #55846 and removing active labels.
Nikolas Zimmermann
Comment 5 2025-12-26 04:24:21 PST
NOTE: there is a new class in LBSE code that is supposed to handle decorated bounding boxes already. I will look at unifying this once LBSE work resumes in january
Note You need to log in before you can comment on or make changes to this bug.