transform3d-preserve3d-002.html (1028B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test (Transforms): Preserve-3D With Margins 1</title> 5 <link rel="author" title="Matt Woodrow" href="mailto:mwoodrow@mozilla.com"> 6 <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> 7 <link rel="help" href="http://www.w3.org/TR/css-transforms-2/#transform-style-property"> 8 <meta name="assert" content="This is the first in a series of four tests 9 that test that translations work correctly when combined with margins or 10 translations on various elements, when preserve-3d is enabled. They test 11 for a real-world implementation bug: 12 <https://bugzilla.mozilla.org/show_bug.cgi?id=691864>."> 13 <link rel="match" href="transform-lime-square-ref.html"> 14 </head> 15 <body> 16 <div style="transform-style: preserve-3d; margin-left: 200px"> 17 <div style="transform-style: preserve-3d"> 18 <div style="width: 100px; height: 100px; background: lime; 19 transform: translatex(-200px)"> 20 </div></div></div> 21 </body> 22 </html>