Bug 695832 - Test for perspective origin not being affected by transform origin. r=roc
☠☠ backed out by fef6e3628e25 ☠ ☠
authorMatt Woodrow <mwoodrow@mozilla.com>
Wed, 26 Oct 2011 16:20:56 +1300
changeset 79228 cc6b39f2b51218531a5670af867d401475f3aa32
parent 79227 f2b1103e5177292a3f6712124905accbc935a8b5
child 79229 68d6ef3d84a3bf31b836695810d0585c85db1bf6
push id21380
push userbmo@edmorley.co.uk
push dateWed, 26 Oct 2011 23:31:27 +0000
treeherderautoland@16a8d2ab5240 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs695832
milestone10.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 695832 - Test for perspective origin not being affected by transform origin. r=roc
layout/reftests/transform-3d/reftest.list
layout/reftests/transform-3d/rotatex-transformorigin-1-ref.html
layout/reftests/transform-3d/rotatex-transformorigin-1a.html
--- a/layout/reftests/transform-3d/reftest.list
+++ b/layout/reftests/transform-3d/reftest.list
@@ -30,8 +30,10 @@ fails == preserve3d-1a.html preserve3d-1
 == backface-visibility-1b.html about:blank
 != perspective-origin-1a.html rotatex-perspective-1a.html
 == perspective-origin-1b.html perspective-origin-1a.html
 != sorting-1a.html sorting-1-ref.html
 # Parallel planes, different z depth
 == sorting-2a.html sorting-2-ref.html
 # Parallel planes, same z depth (shouldn't be sorted!)
 == sorting-2b.html sorting-2-ref.html
+# Different, but equivalent (for the given transform) transform origins
+== rotatex-transformorigin-1a.html rotatex-transformorigin-1-ref.html
new file mode 100644
--- /dev/null
+++ b/layout/reftests/transform-3d/rotatex-transformorigin-1-ref.html
@@ -0,0 +1,9 @@
+<html>
+<head>
+</head>
+<body>
+  <div style="-moz-transform: perspective(1000px) rotatex(45deg); -moz-transform-origin: top right; width: 100px; height: 100px;">
+    Test Text
+  </div>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/transform-3d/rotatex-transformorigin-1a.html
@@ -0,0 +1,9 @@
+<html>
+<head>
+</head>
+<body>
+  <div style="-moz-transform: perspective(1000px) rotatex(45deg); -moz-transform-origin: top left; width: 100px; height: 100px;">
+    Test Text
+  </div>
+</body>
+</html>