Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-transforms/transform-transformable-inline-block.html
<!DOCTYPE html> <html> <head> <title>CSS Test (Transforms): Transformability of Inline-Block</title> <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-property"> <meta name="assert" content='This tests that transforms specified on an inline-block work as expected.'> <link rel="match" href="transform-transformable-inline-block-ref.html"> <style> body { overflow: hidden; } div { display: inline-block; transform: translate(50px, 50px); } </style> </head> <body> <div>Some text</div> </body> </html>
/css/css-transforms/transform-transformable-inline-block-ref.html
<!DOCTYPE html> <html> <head> <title>CSS Reftest Reference</title> <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> <style> body { overflow: hidden; } body > div { position: relative; top: 50px; left: 50px; } body > div > div { display: inline-block; } </style> </head> <body> <div> <div>Some text</div> </div> </body> </html>