diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-transforms/transform-matrix-004.html')
-rw-r--r-- | testing/web-platform/tests/css/css-transforms/transform-matrix-004.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-transforms/transform-matrix-004.html b/testing/web-platform/tests/css/css-transforms/transform-matrix-004.html new file mode 100644 index 0000000000..297f6b70f8 --- /dev/null +++ b/testing/web-platform/tests/css/css-transforms/transform-matrix-004.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<html> + <head> + <title>CSS Test (Transforms): matrix()/translateY(%)</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 translateY() with a percentage + argument has the same effect as an equivalent matrix().'> + <link rel="match" href="transform-matrix-004-ref.html"> + <style> + div { + transform: matrix(1, 0, 0, 1, 0, 23); + width: 100px; + height: 100px; + background: gold; + } + </style> + </head> + <body> + <div></div> + </body> +</html> |