зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1156456 patch 2 - Transform the z component just like the x and y. r=birtles
I confirmed locally that this patch fixes the reftest (per reftest.list change).
This commit is contained in:
Родитель
7952663706
Коммит
a29e961fde
|
@ -413,9 +413,11 @@ SampleValue(float aPortion, Animation& aAnimation, StyleAnimationValue& aStart,
|
||||||
Point3D transformOrigin = data.transformOrigin();
|
Point3D transformOrigin = data.transformOrigin();
|
||||||
transformOrigin.x = transformOrigin.x * cssPerDev;
|
transformOrigin.x = transformOrigin.x * cssPerDev;
|
||||||
transformOrigin.y = transformOrigin.y * cssPerDev;
|
transformOrigin.y = transformOrigin.y * cssPerDev;
|
||||||
|
transformOrigin.z = transformOrigin.z * cssPerDev;
|
||||||
Point3D perspectiveOrigin = data.perspectiveOrigin();
|
Point3D perspectiveOrigin = data.perspectiveOrigin();
|
||||||
perspectiveOrigin.x = perspectiveOrigin.x * cssPerDev;
|
perspectiveOrigin.x = perspectiveOrigin.x * cssPerDev;
|
||||||
perspectiveOrigin.y = perspectiveOrigin.y * cssPerDev;
|
perspectiveOrigin.y = perspectiveOrigin.y * cssPerDev;
|
||||||
|
perspectiveOrigin.z = perspectiveOrigin.z * cssPerDev;
|
||||||
nsDisplayTransform::FrameTransformProperties props(interpolatedList,
|
nsDisplayTransform::FrameTransformProperties props(interpolatedList,
|
||||||
transformOrigin,
|
transformOrigin,
|
||||||
perspectiveOrigin,
|
perspectiveOrigin,
|
||||||
|
|
|
@ -58,5 +58,5 @@ fuzzy-if(winWidget&&!layersGPUAccelerated,1,606) == scroll-perspective-1.html sc
|
||||||
# Bugs
|
# Bugs
|
||||||
fails-if(!layersGPUAccelerated) == 1035611-1.html 1035611-1-ref.html # Bug 1072898 for !layersGPUAccelerated failures
|
fails-if(!layersGPUAccelerated) == 1035611-1.html 1035611-1-ref.html # Bug 1072898 for !layersGPUAccelerated failures
|
||||||
== animate-cube.html animate-cube-ref.html
|
== animate-cube.html animate-cube-ref.html
|
||||||
fails == animate-cube-zoom.html animate-cube-zoom-ref.html # Bug 1156456
|
fuzzy-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)&&!layersGPUAccelerated,16,6) == animate-cube-zoom.html animate-cube-zoom-ref.html
|
||||||
!= animate-cube-ref.html animate-cube-zoom-ref.html
|
!= animate-cube-ref.html animate-cube-zoom-ref.html
|
||||||
|
|
Загрузка…
Ссылка в новой задаче