aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/html/transform-input-008.htm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/css-tests/css-transforms-1_dev/html/transform-input-008.htm')
-rw-r--r--tests/wpt/css-tests/css-transforms-1_dev/html/transform-input-008.htm46
1 files changed, 46 insertions, 0 deletions
diff --git a/tests/wpt/css-tests/css-transforms-1_dev/html/transform-input-008.htm b/tests/wpt/css-tests/css-transforms-1_dev/html/transform-input-008.htm
new file mode 100644
index 00000000000..9c3904899eb
--- /dev/null
+++ b/tests/wpt/css-tests/css-transforms-1_dev/html/transform-input-008.htm
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html><head>
+ <title>CSS Test (Transforms): Input (type=datetime)</title>
+ <link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor">
+ <link href="http://www.w3.org/TR/css-transforms-1/#transform-property" rel="help">
+ <link href="http://www.apple.com" rel="reviewer" title="Apple Inc.">
+ <meta content="The input element is an atomic inline element,
+ so it falls under the definition of transformable and should be affected by
+ transformations as usual. This is one in a series of tests that verify
+ that a few simple transforms have the expected effect on various types of
+ inputs. (They only test a few very specific transforms because it would be
+ difficult to construct a correct reference file for more complex
+ transforms.)" name="assert">
+ <link href="reference/transform-input-008-ref.htm" rel="match">
+ <style>
+ input {
+ /* Margin to avoid overlap of translated inputs */
+ margin: 10px;
+ }
+ p + input {
+ transform: rotate(360deg);
+ }
+ p + input + input {
+ transform: translateX(-10px);
+ }
+ p + input + input + input {
+ transform: translateX(10px);
+ }
+ p + input + input + input + input {
+ transform: translateY(-10px);
+ }
+ p + input + input + input + input + input {
+ transform: translateY(10px);
+ }
+ </style>
+ </head>
+ <body>
+ <p>type=datetime</p>
+ <input type="datetime" value="2012-02-01 17:28Z">
+ <input type="datetime" value="2012-02-01 17:28Z">
+ <input type="datetime" value="2012-02-01 17:28Z">
+ <input type="datetime" value="2012-02-01 17:28Z">
+ <input type="datetime" value="2012-02-01 17:28Z">
+
+
+</body></html> \ No newline at end of file