summaryrefslogtreecommitdiff
path: root/testsuite/reftests/animation-fill-mode-iteration-count.css
blob: db65050bb41705b1f51447efbbb5e861d5be13bb (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
@keyframes cssrocks {
  from { background-color: yellow; }
  to   { background-color: red; }
}

box {
  background-color: blue;
  animation-fill-mode: both;
  animation-duration: 100s;
  padding: 1px;
  background-clip: content-box;
  animation-timing-function: linear;
}

.after {
  animation-name: cssrocks;
  animation-delay: -10000s;
}

.before {
  animation-name: cssrocks;
  animation-delay: 10000s;
}

.normal {
  animation-direction: normal;
}

.reverse {
  animation-direction: reverse;
}

.alternate {
  animation-direction: alternate;
}

.alternate-reverse {
  animation-direction: alternate-reverse;
}

.x0 {
  animation-iteration-count: 0;
}

.x02 {
  animation-iteration-count: 0.2;
}

.x1 {
  animation-iteration-count: 1;
}

.x12 {
  animation-iteration-count: 1.2;
}

.x2 {
  animation-iteration-count: 2;
}

.x22 {
  animation-iteration-count: 2.2;
}

.yellow {
  animation: none;
  background-color: yellow;
}

.red {
  animation: none;
  background-color: red;
}

.darkorange {
  animation: none;
  background-color: rgb(255,51,0);
}

.lightorange {
  animation: none;
  background-color: rgb(255,204,0);
}