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:
L. David Baron 2015-04-22 19:37:04 -07:00
Родитель 7952663706
Коммит a29e961fde
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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