Bug 267732

Summary: [LBSE] 'mask' / 'clipPath' (SVG) DOM changes should never trigger relayouts
Product: WebKit Reporter: Nikolas Zimmermann <zimmermann>
Component: SVGAssignee: Nikolas Zimmermann <zimmermann>
Status: RESOLVED FIXED    
Severity: Normal CC: rbuis, sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 90738, 265134    

Nikolas Zimmermann
Reported 2024-01-18 14:29:23 PST
'mask' / 'clipPath' (SVG) DOM changes should never trigger relayouts. Currently changing e.g. clipPathUnits/maskUnits causes the RenderSVGResourceClipper/Masker to be marked for layout. This is unnecessary -- we should really only repaint the old & new boundaries of all elements referencing the clipPath/mask.
Attachments
Nikolas Zimmermann
Comment 1 2024-01-18 14:34:12 PST
EWS
Comment 2 2024-01-22 04:00:39 PST
Committed 273293@main (26d12c80d8df): <https://commits.webkit.org/273293@main> Reviewed commits have been landed. Closing PR #22938 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-01-22 04:01:19 PST
Note You need to log in before you can comment on or make changes to this bug.