Closed Bug 2077410 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63180 - Support CSS 3D transforms on SVG children behind a flag

Categories

(Core :: Web Painting, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Helmut Januschka <helmut@januschka.com> wrote:

Support CSS 3D transforms on SVG children behind a flag

Stop flattening SVG child transforms to 2D affine: feed the full 3D
matrix (including perspective()) into the transform paint node, keep the
svg root's perspective node unflattened for its content, and hit test
through the same GeometryMapper projection that rendering uses, all
gated on the experimental SvgCss3dTransforms runtime flag.

Bug: 41310059
Change-Id: Ie8f2052df0ef2955d25524bdfbf2108b5f8f16a3
Reviewed-on: https://chromium-review.googlesource.com/8462268
WPT-Export-Revision: d889dbb09cc8f0bdab4dacf3a6a39791c602284d

Component: web-platform-tests → Web Painting
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 930 tests and 9 subtests

Status Summary

Firefox

OK : 107
PASS: 2[GitHub] 28[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 5502[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 6286[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 6287[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug] 6289[Gecko-windows11-64-25h2-opt]
FAIL: 40[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 48[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 50[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 51[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]

Chrome

FAIL: 2

Safari

FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-transforms/backface-visibility-hidden-003.html [wpt.fyi]: FAIL
  • /css/css-transforms/backface-visibility-hidden-004.html [wpt.fyi]: FAIL
  • /css/css-transforms/skew-test1.html [wpt.fyi]: FAIL
  • /css/css-transforms/transform-compound-001.html [wpt.fyi]: PASS [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt], SKIP [Gecko-windows11-64-25h2-debug]
  • /css/css-transforms/transform-containing-block-dynamic-1b.html [wpt.fyi]: PASS [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt], SKIP [Gecko-windows11-64-25h2-debug]
  • /css/css-transforms/transform-table-009.html [wpt.fyi]: FAIL
  • /css/css-transforms/transform-table-010.html [wpt.fyi]: FAIL
  • /css/css-transforms/transform-table-011.html [wpt.fyi]: FAIL
  • /css/css-transforms/ttwf-css-3d-polygon-cycle.html [wpt.fyi]: FAIL
  • /css/css-transforms/animation/translate-animation-on-svg.html [wpt.fyi]: FAIL
  • /css/css-transforms/3d-point-mapping-2-transforminterop.html [wpt.fyi]
    • More point mapping through 3D transform hierarchies, hittesting box12): FAIL [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt], PASS [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
  • /css/css-transforms/3d-point-mapping-deep.html [wpt.fyi]
    • Point mapping through deeply nested 3D transforms, hittesting box8: FAIL
  • /css/css-transforms/3d-point-mapping-origins.html [wpt.fyi]
    • Point mapping through 3D transforms with origins, hittesting top-right-blue): FAIL
    • Point mapping through 3D transforms with origins, hittesting bottom-left-medium-gray): FAIL [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview], PASS [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
    • Point mapping through 3D transforms with origins, hittesting bottom-left-blue): FAIL [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview], PASS [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
    • Point mapping through 3D transforms with origins, hittesting bottom-right-medium-gray): FAIL [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt], PASS [Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
  • /css/css-transforms/animation/transform-interpolation-007.html [wpt.fyi]
    • CSS Transitions: property <transform> from [matrix3d(2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1)] to [matrix(3, 0, 0, 3, 0, 0)] at (-0.3) should be [matrix(3, 0, 0, 3, 0, 0)]: FAIL
    • CSS Transitions: property <transform> from [matrix3d(2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1)] to [matrix(3, 0, 0, 3, 0, 0)] at (0) should be [matrix(3, 0, 0, 3, 0, 0)]: FAIL
    • CSS Transitions: property <transform> from [matrix3d(2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1)] to [matrix(3, 0, 0, 3, 0, 0)] at (0.3) should be [matrix(3, 0, 0, 3, 0, 0)]: FAIL
    • CSS Transitions with transition: all: property <transform> from [matrix3d(2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1)] to [matrix(3, 0, 0, 3, 0, 0)] at (-0.3) should be [matrix(3, 0, 0, 3, 0, 0)]: FAIL
    • CSS Transitions with transition: all: property <transform> from [matrix3d(2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1)] to [matrix(3, 0, 0, 3, 0, 0)] at (0) should be [matrix(3, 0, 0, 3, 0, 0)]: FAIL
    • CSS Transitions with transition: all: property <transform> from [matrix3d(2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1)] to [matrix(3, 0, 0, 3, 0, 0)] at (0.3) should be [matrix(3, 0, 0, 3, 0, 0)]: FAIL
  • /css/css-transforms/animation/transform-interpolation-computed-value.html [wpt.fyi]
    • Interpolation between translateX(0px) and translateX(50px) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL
    • Interpolation between translateY(0%) and translateX(50%) gives the correct computed value halfway according to computedStyleMap.: FAIL
    • Interpolation between translateY(0%) and translateX(50%) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL
    • Interpolation between translateX(50px) and translateY(50px) gives the correct computed value halfway according to computedStyleMap.: FAIL
    • Interpolation between translateX(50px) and translateY(50px) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL
    • Interpolation between translateX(50px) and translateZ(50px) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL
    • Interpolation between translateZ(50px) and translateX(50px) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL
    • Interpolation between translate(50px, 0px) and translate(100px, 0px) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL
    • Interpolation between translate(50px, -50px) and translate(100px, 50px) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL
    • Interpolation between rotate(0deg) and rotateZ(90deg) gives the correct computed value halfway according to computedStyleMap.: FAIL
    • Interpolation between rotate(0deg) and rotateZ(90deg) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL
    • Interpolation between scaleX(2) and scaleY(2) gives the correct computed value halfway according to computedStyleMap.: FAIL
    • Interpolation between scaleX(2) and scaleY(2) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL
    • Interpolation between scaleX(2) and scaleY(3) gives the correct computed value halfway according to computedStyleMap.: FAIL
    • Interpolation between scaleX(2) and scaleY(3) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL
    • Interpolation between perspective(10px) and perspective(2.5px) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL
    • Interpolation between perspective(10px) and perspective(none) gives the correct computed value halfway according to computedStyleMap with zoom active.: FAIL
  • /css/css-transforms/animation/transform-interpolation-inline-value.html [wpt.fyi]
    • Interpolation between translateY(0%) and translateX(50%) gives the correct computed value halfway according to commitStyles.: FAIL
    • Interpolation between translateX(50px) and translateY(50px) gives the correct computed value halfway according to commitStyles.: FAIL
    • Interpolation between rotate(0deg) and rotateZ(90deg) gives the correct computed value halfway according to commitStyles.: FAIL
    • Interpolation between scaleX(2) and scaleY(2) gives the correct computed value halfway according to commitStyles.: FAIL
    • Interpolation between scaleX(2) and scaleY(3) gives the correct computed value halfway according to commitStyles.: FAIL
  • /css/css-transforms/parsing/transform-valid.html [wpt.fyi]
    • e.style['transform'] = "scaleX(7)" should set the property value: FAIL
    • e.style['transform'] = "scaleX(720%)" should set the property value: FAIL
    • e.style['transform'] = "scaleY(-8)" should set the property value: FAIL
    • e.style['transform'] = "scaleY(-85%)" should set the property value: FAIL
    • e.style['transform'] = "scaleZ(4)" should set the property value: FAIL
    • e.style['transform'] = "scaleZ(25%)" should set the property value: FAIL
    • e.style['transform'] = "skewX(0)" should set the property value: FAIL
    • e.style['transform'] = "skewX(90deg)" should set the property value: FAIL
    • e.style['transform'] = "skewY(0)" should set the property value: FAIL
    • e.style['transform'] = "skewY(-90deg)" should set the property value: FAIL

Tests Disabled in Gecko Infrastructure

  • /css/css-transforms/transform-compound-001.html [wpt.fyi]: PASS [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt], SKIP [Gecko-windows11-64-25h2-debug]
  • /css/css-transforms/transform-containing-block-dynamic-1b.html [wpt.fyi]: PASS [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt], SKIP [Gecko-windows11-64-25h2-debug]
Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/7192beaf77f7 https://hg.mozilla.org/integration/autoland/rev/36f2b1a2a6cf [wpt PR 63180] - Support CSS 3D transforms on SVG children behind a flag, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.