Closed Bug 1515080 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 14587 - Resolve percentages in computed 'transform' for SVG elements

Categories

(Core :: CSS Parsing and Computation, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 14587 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/14587
Details from upstream follow.

Fredrik Söderquist <fs@opera.com> wrote:
>  Resolve percentages in computed 'transform' for SVG elements
>  
>  SVG (child; non-root) elements should resolve percentages in computed
>  'transform' values just like regular boxes.
>  
>  Rename ComputeTransformReferenceBox to ComputeSVGTransformReferenceBox
>  (for clarity) and expose it for a wider audience. Make it apply the
>  effective zoom, since both clients require that.
>  Use ComputeSVGTransformReferenceBox in ComputedStyleUtils to compute the
>  reference box for the LayoutObject in question.
>  
>  Bug: 915426
>  Change-Id: I5323056cc54ff07e0b3cf943f52a7210ea320c78
>  Reviewed-on: https://chromium-review.googlesource.com/1382433
>  WPT-Export-Revision: 05acae1b22c459f4e79e3689222117fa58cf4ace
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Failed to get results from try push
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/50108c8b6129
[wpt PR 14587] - Resolve percentages in computed 'transform' for SVG elements, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/14f2ce14928c
[wpt PR 14587] - Resolve percentages in computed 'transform' for SVG elements, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.