Status: PASS | Duration: 5ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-transforms/transform-scalex-001.html
<!DOCTYPE html> <html> <head> <title>CSS Test (Transforms): scaleX(0.5)</title> <link rel="author" title="Clint Talbert" href="mailto:ctalbert@mozilla.com"> <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#two-d-transform-functions"> <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#funcdef-transform-scalex"> <meta name="assert" content="This tests that scaleX(0.5) scales down a box's width by a factor of one-half."> <link rel="match" href="transform-scalex-ref.html"> <style> div { background: green; width: 100px; height: 100px; transform: scaleX(0.5); } </style> </head> <body> <div></div> </body> </html>
/css/css-transforms/transform-scalex-ref.html
<!DOCTYPE html> <html> <head> <title>CSS Reftest Reference</title> <link rel="author" title="Clint Talbert" href="mailto:ctalbert@mozilla.com"> <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> <style> div { background: green; width: 50px; height: 100px; margin-left: 25px; } </style> </head> <body> <div></div> </body> </html>