Status: FAIL | Duration: 9ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-transforms/transform3d-sorting-005.html
<!DOCTYPE html> <html> <head> <title>CSS Test (Transforms): Sorting With Background on Parent</title> <link rel="author" title="Matt Woodrow" href="mailto:mwoodrow@mozilla.com"> <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> <link rel="help" href="http://www.w3.org/TR/css-transforms-2/#transform-style-property"> <link rel="help" href="http://www.w3.org/TR/css-transforms-2/#3d-transform-rendering"> <meta name="assert" content="This tests that if a parent has 'transform-style: preserve-3d', it's in the same rendering context as its children. Thus the translateZ(10px) puts the child above it, and the rotateX(180deg) puts it below, so the lime parent is rendered on top."> <link rel="match" href="transform-lime-square-ref.html"> </head> <body> <div style="transform-style: preserve-3d; transform: rotateX(180deg); width: 100px; height: 100px; background: lime"> <div style="width: 100px; height: 100px; background: red; transform: translatez(10px)"></div> </div> </body> </html>
/css/css-transforms/transform-lime-square-ref.html
<!DOCTYPE html> <html> <head> <title>CSS Reftest Reference</title> <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> <style> div { height: 100px; width: 100px; background: lime; } </style> </head> <body> <div></div> </body> </html>