Status: FAIL | Duration: 16ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-transforms/transforms-rotateY-degree-60.html
<!DOCTYPE html> <html> <head> <title>CSS Transforms Test: transform property with rotate function and one parameter</title> <link rel="author" title="Ji Kai" href="mailto:7jikai@gmail.com"> <link rel="reviewer" title="Dayang Shen" href="mailto:shendayang@baidu.com"> <!-- 2013-09-04 --> <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-property"> <link rel="help" href="http://www.w3.org/TR/css-transforms-2/#two-d-transform-functions"> <link rel="match" href="reference/transforms-rotateY-degree-60-ref.html"> <style> div { position: absolute; top: 100px; left: 100px; height: 100px; width: 100px; } .transformed { background-color: white; transform: rotateY(60deg); } .back { background-color: green; } </style> </head> <body> <p>The test passes if there are two green rectangles.</p> <div class="back"></div> <div class="transformed"></div> </body> </html>
/css/css-transforms/reference/transforms-rotateY-degree-60-ref.html
<!DOCTYPE html> <html> <head> <title>CSS Transforms Reference File</title> <link rel="author" title="Ji Kai" href="mailto:7jikai@gmail.com"> <link rel="reviewer" title="Dayang Shen" href="mailto:shendayang@baidu.com"> <!-- 2013-09-04 --> <style> div { background-color: green; position: absolute; top: 100px; width: 25px; height: 100px; } #left { left: 100px; } #right { left: 175px; } </style> </head> <body> <p>The test passes if there are two green rectangles.</p> <div id="left"></div> <div id="right"></div> </body> </html>