aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/transform-input-013.xht
blob: 158f1507e02450113cbacfadf6d15f6c5a726f67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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=datetime-local)</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-013-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=datetime-local</p>
    <input type="datetime-local" value="2012-02-01 12:28" />
    <input type="datetime-local" value="2012-02-01 12:28" />
    <input type="datetime-local" value="2012-02-01 12:28" />
    <input type="datetime-local" value="2012-02-01 12:28" />
    <input type="datetime-local" value="2012-02-01 12:28" />
  

</body></html>