Bug 247672

Summary: [LBSE] Unify all SVG geometry/transform computations with CSS
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 Local Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 90738    

Description Nikolas Zimmermann 2022-11-09 02:45:17 PST
Consistently use SVGLayerTransformComputation whenever transformations need to be computed in the SVG render tree, utilizing 'TransformState' and 'mapLocalToContainer', which were previously extended for SVGs needs (TransformState::TransformMatrixTracking). This assures that the very same transformation matrices / code paths are used independent if one is using getBoundingClientRect() / getCTM() / getBBox() or when computing repaint rects, layer transform matrices - etc.
Comment 1 Nikolas Zimmermann 2022-11-09 03:38:48 PST
Pull request: https://github.com/WebKit/WebKit/pull/6297
Comment 2 Radar WebKit Bug Importer 2022-11-16 02:46:23 PST
<rdar://problem/102412168>
Comment 3 EWS 2022-11-18 16:41:51 PST
Committed 256862@main (5c3443a0ab7a): <https://commits.webkit.org/256862@main>

Reviewed commits have been landed. Closing PR #6297 and removing active labels.