mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 695832 - Test for perspective origin not being affected by transform origin. r=roc
This commit is contained in:
parent
e7cae5b8ca
commit
8878bb62e5
@ -35,3 +35,5 @@ fails == preserve3d-1a.html preserve3d-1-ref.html
|
||||
== 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
|
||||
|
@ -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>
|
11
layout/reftests/transform-3d/rotatex-transformorigin-1a.html
Normal file
11
layout/reftests/transform-3d/rotatex-transformorigin-1a.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user