Bug 230172

Summary: Fix computed style for transform-origin on SVG boxes
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CSSAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: changseok, dino, esprehn+autocc, ews-watchlist, fmalita, fred.wang, glenn, gyuyoung.kim, kondapallykalyan, macpherson, menard, pdr, sabouhallawa, schenney, sergio, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 230080    
Attachments:
Description Flags
Patch zalan: review+

Description Simon Fraser (smfr) 2021-09-10 14:52:59 PDT
Fix computed style for transform-origin on SVG boxes
Comment 1 Simon Fraser (smfr) 2021-09-10 14:54:43 PDT
Created attachment 437910 [details]
Patch
Comment 2 zalan 2021-09-10 15:00:05 PDT
Comment on attachment 437910 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=437910&action=review

> Source/WebCore/css/CSSComputedStyleDeclaration.cpp:562
> +static FloatRect transformReferenceBox(const RenderStyle& style, RenderElement& renderer)

const RenderElement&?

> Source/WebCore/rendering/svg/SVGRenderSupport.cpp:338
> +FloatRect SVGRenderSupport::transformReferenceBox(RenderElement& renderer, const SVGElement& element, const RenderStyle& style)

const?
Comment 3 Simon Fraser (smfr) 2021-09-14 09:50:42 PDT
https://trac.webkit.org/r282379
Comment 4 Radar WebKit Bug Importer 2021-09-14 09:51:22 PDT
<rdar://problem/83106412>