summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/color/transformations-1.html
blob: ba70275232e625ae46a6e29d616a0da3ac2e1672 (plain)
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
<!DOCTYPE html>
<html>
  <style>
    input[type=color]:nth-child(1) { transform: matrix(1, -0.2, 0, 1, 0, 0); }
    input[type=color]:nth-child(2) { transform: translateX(15em) matrix(1, 0, 0.6, 1, 0, 0); }
    input[type=color]:nth-child(3) { transform: rotate(30deg); }
    input[type=color]:nth-child(4) { transform: scale(2, 4); }
    input[type=color]:nth-child(5) { transform: scale(0.1, 0.4); }
    input[type=color]:nth-child(6) { transform: scale(1, 0.4); }
    input[type=color]:nth-child(7) { transform: scale(0.1, 1); }
    input[type=color]:nth-child(8) { transform: skew(30deg, -10deg); }
    input[type=color]:nth-child(9) { transform: skew(-30deg, 10deg); }
    input[type=color]:nth-child(10) { transform: translate(10px, 30px); }
    input[type=color]:nth-child(11) { transform: translate(30px, 10px); }
    input[type=color]:nth-child(12) { transform: translate(-10px, 30px); }
    input[type=color]:nth-child(13) { transform: translate(30px, -10px); }
    input[type=color]:nth-child(14) { transform: scale(0, 0); }
  </style>
  <body>
    <input type=color />
    <input type=color />
    <input type=color />
    <input type=color />
    <input type=color />
    <input type=color />
    <input type=color />
    <input type=color />
    <input type=color />
    <input type=color />
    <input type=color />
    <input type=color />
    <input type=color />
    <input type=color />
  </body>
</html>