Status: PASS | Duration: 10ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-transforms/transform-matrix-005.html
<!DOCTYPE html> <html> <head> <title>CSS Test (Transforms): matrix()/skewX()</title> <link rel="author" title="Keith Schwarz" href="mailto:keith@keithschwarz.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-matrix"> <meta name="assert" content='This tests that skewX() has the same effect as an equivalent matrix().'> <link rel="match" href="transform-matrix-005-ref.html"> <link rel="mismatch" href="transform-matrix-005-notref.html"> <style> div { transform: matrix(1, 0, 1, 1, 0, 0); width: 100px; height: 100px; background: gold; } </style> </head> <body> <div></div> </body> </html>
/css/css-transforms/transform-matrix-005-ref.html
<!DOCTYPE html> <html> <head> <title>CSS Reftest Reference</title> <link rel="author" title="Keith Schwarz" href="mailto:keith@keithschwarz.com"> <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> <style> div { transform: skewX(45deg); width: 100px; height: 100px; background: gold; } </style> </head> <body> <div></div> </body> </html>