gecko-dev/layout/reftests/transform-3d
Timothy Nikkel e9a1f92b4a Bug 1626259. When computing the scale for a stacking context with webrender look at this stacking context to see if it is preserve 3d and not it's parent to match FrameLayerBuilder::ChooseScale. r=jrmuizel
Back when webrender did not call FrameLayerBuilder::ChooseScale (it was called ChooseScaleAndSetTransform back then until it was factored out in bug 1415987) bug 1449640 landed which made the webrender scale choosing more closely align with FrameLayerBuilder::ChooseScale by not computing a scale of there was preserve3d or perspective involved. That patch had a bug, it looked at the parent stacking context helper to see if it had preserve 3d, but FrameLayerBuilder::ChooseScale looks at the current "stacking context".

This didn't cause a problem in the testcase from this bug until bug 1569215 landed. In the testcase in this bug we have a stacking context with a 2d transform whose parent stacking context is preserve3d. So we pass down the scale from the parent stacking context and completely ignore the scale induced by the 2d transform. Passing 1.f to ChooseScale instead of the parent scale factor "undid" this mistake, so when that was fixed we regressed this testcase.

Differential Revision: https://phabricator.services.mozilla.com/D69167

--HG--
extra : moz-landing-system : lando
2020-04-03 01:24:54 +00:00
..
1035611-1-ref.html
1035611-1.html
1157984-1.html
1245450-1.html
1271058-1-ref.html
1271058-1.html
1467277-1.html Bug 1467277 - Avoid getting zero normalized vector of rotate3d when setting a rotate matrix. r=nical 2018-07-05 15:40:39 -07:00
1544995-1-ref.html Bug 1544995 - Always update overflow areas up to the preserve-3d root. r=dbaron 2019-05-19 22:39:58 +00:00
1544995-1.html Bug 1544995 - Always update overflow areas up to the preserve-3d root. r=dbaron 2019-05-19 22:39:58 +00:00
animate-backface-hidden.html Bug 1506860 - Revert the workaround that we did in bug 1504929. r=birtles 2018-11-26 01:35:10 +00:00
animate-cube-degrees-ref.html
animate-cube-degrees-zoom-ref.html
animate-cube-degrees-zoom.html
animate-cube-degrees.html
animate-cube-radians-ref.html
animate-cube-radians-zoom-ref.html
animate-cube-radians-zoom.html
animate-cube-radians.html
animate-preserve3d-child.html Bug 1506860 - Revert the workaround that we did in bug 1504929. r=birtles 2018-11-26 01:35:10 +00:00
animate-preserve3d-parent.html Bug 1506860 - Revert the workaround that we did in bug 1504929. r=birtles 2018-11-26 01:35:10 +00:00
animate-preserve3d-ref.html
backface-visibility-1a.html
backface-visibility-1b.html
backface-visibility-1c.html
backface-visibility-2-ref.html
backface-visibility-2.html
backface-visibility-3-ref.html
backface-visibility-3.html
component-alpha-1-ref.html
component-alpha-1.html
green-rect.html
intermediate-1-ref.html
intermediate-1.html
mask-layer-1.html
mask-layer-2.html
mask-layer-3.html
mask-layer-ref.html
matrix3d-1-ref.html
matrix3d-1a.html
matrix3d-2-ref.html
matrix3d-2a.html
nested-transform-1-ref.html
nested-transform-1.html
opacity-preserve3d-1-ref.html
opacity-preserve3d-1.html
opacity-preserve3d-2-ref.html
opacity-preserve3d-2.html
opacity-preserve3d-3-ref.html
opacity-preserve3d-3.html
opacity-preserve3d-4-ref.html
opacity-preserve3d-4.html
opacity-preserve3d-5-ref.html
opacity-preserve3d-5.html
overflow-hidden-1-ref.html
overflow-hidden-1a.html
perspective-clipping-1-ref.html
perspective-clipping-1.html
perspective-clipping-2-ref.html Bug 1373335 - Make sure we clip the opaque region in render target coordinate space, since complex transforms mean that we can't always have a rectangular representation of clips in layer space. r=mstange 2017-06-22 12:41:16 +12:00
perspective-clipping-2.html Bug 1373335 - Make sure we clip the opaque region in render target coordinate space, since complex transforms mean that we can't always have a rectangular representation of clips in layer space. r=mstange 2017-06-22 12:41:16 +12:00
perspective-origin-1a.html
perspective-origin-1b.html
perspective-origin-2-ref.html
perspective-origin-2a.html
perspective-origin-3-ref.html
perspective-origin-3a.html
perspective-origin-4-ref.html
perspective-origin-4a.html
perspective-overflow-1-ref.html Bug 1483659 - Ensure that child overflow areas are included in perspective frame overflow areas r=dbaron 2018-09-04 16:25:54 +00:00
perspective-overflow-1.html Bug 1483659 - Ensure that child overflow areas are included in perspective frame overflow areas r=dbaron 2018-09-04 16:25:54 +00:00
perspective-zindex-2.html
perspective-zindex.html
preserve3d-1-ref.html
preserve3d-1a.html
preserve3d-1b.html
preserve3d-2-ref.html
preserve3d-2a.html
preserve3d-2b.html
preserve3d-2c.html
preserve3d-2d.html
preserve3d-3-ref.html
preserve3d-3a.html
preserve3d-4a.html
preserve3d-5-ref.html
preserve3d-5a.html
preserve3d-6-ref.html
preserve3d-6a.html
preserve3d-7-ref.html
preserve3d-7a.html
preserve3d-8-ref.html Bug 1397671 - Don't treat SVG transformed frames as being transformed for the purposes of computing Combines3DTransformWithAncestors. r=dbaron 2017-09-26 15:57:56 +13:00
preserve3d-8.html Bug 1397671 - Don't treat SVG transformed frames as being transformed for the purposes of computing Combines3DTransformWithAncestors. r=dbaron 2017-09-26 15:57:56 +13:00
preserve3d-clipped.html
preserve3d-scale-ref.html Bug 1626865. Improve the test from bug 1449640. 2020-04-02 07:48:37 +00:00
preserve3d-scale.html Bug 1449640. Don't compute a scale for 3d transformed content. r=kats 2018-03-27 17:46:34 -04:00
preserve3d-table-ref.html Bug 1560704 - Revert the change `transform-style: inherit` added to ::-moz-table-wrapper in ua.css. r=birtles 2019-06-26 10:29:37 +00:00
preserve3d-table.html Bug 1560704 - Revert the change `transform-style: inherit` added to ::-moz-table-wrapper in ua.css. r=birtles 2019-06-26 10:29:37 +00:00
preserve3d-will-change-large-frame.html Bug 1621007 - Rewrite the checking for PrerenderDecision and reset mAllowAsyncAnimation if needed in 3d context. r=mattwoodrow 2020-03-27 18:47:16 +00:00
preserve3d-will-change-ref.html Bug 1621007 - Rewrite the checking for PrerenderDecision and reset mAllowAsyncAnimation if needed in 3d context. r=mattwoodrow 2020-03-27 18:47:16 +00:00
preserves3d-nested-filter-1-ref.html Bug 1395476 - Do not call mStoredList.RecomputeVisibility for 3d transforms r=mattwoodrow 2017-11-08 02:54:10 +01:00
preserves3d-nested-filter-1.html Bug 1395476 - Do not call mStoredList.RecomputeVisibility for 3d transforms r=mattwoodrow 2017-11-08 02:54:10 +01:00
preserves3d-nested-ref.html
preserves3d-nested.html
reftest.list Bug 1626259. When computing the scale for a stacking context with webrender look at this stacking context to see if it is preserve 3d and not it's parent to match FrameLayerBuilder::ChooseScale. r=jrmuizel 2020-04-03 01:24:54 +00:00
rotate3d-1a.html
rotate3d-2a.html
rotatex-1-ref.html
rotatex-1a.html
rotatex-perspective-1a.html
rotatex-perspective-1b.html
rotatex-perspective-1c.html
rotatex-perspective-3-ref.html
rotatex-perspective-3a.html
rotatex-transformorigin-1-ref.html
rotatex-transformorigin-1a.html
rotatey-1-ref.html
rotatey-1a.html
scale3d-1-ref.html
scale3d-all-separate.html
scale3d-all.html
scale3d-xz.html
scale3d-z.html
scalez-1-ref.html
scalez-1a.html
scalezrotatex-1-ref.html
scalezrotatex-1.html
scroll-perspective-1-ref.html
scroll-perspective-1.html
snap-perspective-1-ref.html
snap-perspective-1.html
sorting-1-ref.html
sorting-1a.html
sorting-2-ref.html
sorting-2a.html
sorting-2b.html
sorting-3a.html
split-intersect1-ref.html
split-intersect1.html
split-intersect2-ref.html
split-intersect2.html
split-non-ortho1-ref.html
split-non-ortho1.html
transform-geometry-1-ref.html
transform-geometry-1.html
transform-style-flat-1-ref.html
transform-style-flat-1a.html
translate3d-1-ref.html
translate3d-1a.html
translatez-1-ref.html
translatez-1a.html
translatez-1b.html
willchange-containing-block.html