Bug 230172 - Fix computed style for transform-origin on SVG boxes
Summary: Fix computed style for transform-origin on SVG boxes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar, WPTImpact
Depends on:
Blocks: 230080
  Show dependency treegraph
 
Reported: 2021-09-10 14:52 PDT by Simon Fraser (smfr)
Modified: 2021-09-14 09:51 PDT (History)
18 users (show)

See Also:


Attachments
Patch (13.59 KB, patch)
2021-09-10 14:54 PDT, Simon Fraser (smfr)
zalan: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>