aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/transform-input-014.xht
diff options
context:
space:
mode:
authorJames Graham <james@hoppipolla.co.uk>2015-03-27 09:18:12 +0000
committerJames Graham <james@hoppipolla.co.uk>2015-04-03 23:29:19 +0100
commit2c9faf5363be229498578bdeca55c0c52730f0fa (patch)
treee070d5d12a587f1e1939410b2cd88450543d7534 /tests/wpt/css-tests/css-transforms-1_dev/xhtml1/transform-input-014.xht
parent1a81b18b9f22d7bc1a967d08fcc7fbcf2ee200f5 (diff)
downloadservo-2c9faf5363be229498578bdeca55c0c52730f0fa.tar.gz
servo-2c9faf5363be229498578bdeca55c0c52730f0fa.zip
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
Diffstat (limited to 'tests/wpt/css-tests/css-transforms-1_dev/xhtml1/transform-input-014.xht')
-rw-r--r--tests/wpt/css-tests/css-transforms-1_dev/xhtml1/transform-input-014.xht46
1 files changed, 46 insertions, 0 deletions
diff --git a/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/transform-input-014.xht b/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/transform-input-014.xht
new file mode 100644
index 00000000000..d271266b748
--- /dev/null
+++ b/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/transform-input-014.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <title>CSS Test (Transforms): Input (type=number)</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-014-ref.xht" 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=number</p>
+ <input max="1000" step="1" type="number" value="613" min="0" />
+ <input max="1000" step="1" type="number" value="613" min="0" />
+ <input max="1000" step="1" type="number" value="613" min="0" />
+ <input max="1000" step="1" type="number" value="613" min="0" />
+ <input max="1000" step="1" type="number" value="613" min="0" />
+
+
+</body></html> \ No newline at end of file