Bug 695832 - Test for perspective origin not being affected by transform origin. r=roc

This commit is contained in:
Matt Woodrow 2011-10-31 13:39:26 +13:00
parent 857970e2ff
commit ed375d6f77
3 changed files with 24 additions and 0 deletions

View File

@ -35,3 +35,5 @@ fails == preserve3d-1a.html preserve3d-1-ref.html
== sorting-2a.html sorting-2-ref.html == sorting-2a.html sorting-2-ref.html
# Parallel planes, same z depth (shouldn't be sorted!) # Parallel planes, same z depth (shouldn't be sorted!)
== sorting-2b.html sorting-2-ref.html == 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

View File

@ -0,0 +1,11 @@
<html>
<head>
</head>
<body>
<div style="-moz-perspective: 1000px;">
<div style="-moz-transform: rotatex(45deg); -moz-transform-origin: top right; width: 100px; height: 100px;">
Test Text
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,11 @@
<html>
<head>
</head>
<body>
<div style="-moz-perspective: 1000px;">
<div style="-moz-transform: rotatex(45deg); -moz-transform-origin: top left; width: 100px; height: 100px;">
Test Text
</div>
</div>
</body>
</html>