Bug 234231 - RenderSVGContainer calculates transform before boundaries
Summary: RenderSVGContainer calculates transform before boundaries
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://wpt.live/css/css-transforms/tr...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-12-13 02:32 PST by Martin Robinson
Modified: 2023-05-27 03:50 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Robinson 2021-12-13 02:32:41 PST
RenderSVGContainer is calculating the local transformation before boundaries, but depending on the value of `transform-box` the transformation might rely on the boundaries. I do not think that the local transformation should be used at all when calculating boundaries, so the order can be changed here.

This is why imported/w3c/web-platform-tests/css/css-transforms/transform-box/fill-box-002.html is failing.
Comment 1 Radar WebKit Bug Importer 2021-12-20 02:33:18 PST
<rdar://problem/86716288>
Comment 2 Ahmad Saleem 2023-05-27 03:50:09 PDT
STP170 is passing this now:

https://wpt.fyi/results/css/css-transforms/transform-box/fill-box-002.html?label=experimental&label=master&aligned=

We can close this as "RESOLVED CONFIGURATION CHANGED".