summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-mismatched-list.html
blob: 7796e36a2e38f6074113dff3e20498b33ecf8c7a (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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html>
<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../resources/utils.js"></script>
<div id="target"></div>
<script>

no_transition_test({
  syntax: "<angle>#",
  from: '100deg, 200deg',
  to: '300deg',
}, 'A custom property of type <angle># does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<angle>+",
  from: '100deg 200deg',
  to: '300deg',
}, 'A custom property of type <angle>+ does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<color>#",
  from: 'rgb(100, 100, 100), rgb(150, 150, 150)',
  to: 'rgb(200, 200, 200)',
}, 'A custom property of type <color># does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<color>+",
  from: 'rgb(100, 100, 100) rgb(150, 150, 150)',
  to: 'rgb(200, 200, 200)',
}, 'A custom property of type <color>+ does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<custom-ident>#",
  from: 'foo, bar',
  to: 'baz',
}, 'A custom property of type <custom-ident># does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<custom-ident>+",
  from: 'foo bar',
  to: 'baz',
}, 'A custom property of type <custom-ident>+ does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<image>#",
  from: 'url("https://example.com/foo"), url("https://example.com/bar")',
  to: 'url("https://example.com/to")',
}, 'A custom property of type <image># does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<image>+",
  from: 'url("https://example.com/foo") url("https://example.com/bar")',
  to: 'url("https://example.com/to")',
}, 'A custom property of type <image>+ does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<integer>#",
  from: '100, 200',
  to: '300',
}, 'A custom property of type <integer># does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<integer>+",
  from: '100 200',
  to: '300',
}, 'A custom property of type <integer>+ does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<length-percentage>#",
  from: '100px, 200px',
  to: '300%',
}, 'A custom property of type <length-percentage># does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<length-percentage>+",
  from: '100px 200px',
  to: '300%',
}, 'A custom property of type <length-percentage>+ does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<length>#",
  from: '100px, 200px',
  to: '300px',
}, 'A custom property of type <length># does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<length>+",
  from: '100px 200px',
  to: '300px',
}, 'A custom property of type <length>+ does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<number>#",
  from: '100, 200',
  to: '300',
}, 'A custom property of type <number># does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<number>+",
  from: '100 200',
  to: '300',
}, 'A custom property of type <number>+ does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<percentage>#",
  from: '100%, 200%',
  to: '300%',
}, 'A custom property of type <percentage># does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<percentage>+",
  from: '100% 200%',
  to: '300%',
}, 'A custom property of type <percentage>+ does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<resolution>#",
  from: '100dppx, 200dppx',
  to: '300dppx',
}, 'A custom property of type <resolution># does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<resolution>+",
  from: '100dppx 200dppx',
  to: '300dppx',
}, 'A custom property of type <resolution>+ does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<time>#",
  from: '100s, 200s',
  to: '300s',
}, 'A custom property of type <time># does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<time>+",
  from: '100s 200s',
  to: '300s',
}, 'A custom property of type <time>+ does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<url>#",
  from: 'url("https://example.com/foo"), url("https://example.com/bar")',
  to: 'url("https://example.com/to")',
}, 'A custom property of type <url># does not yield a CSS Transition if the lists do not contain the same number of values');

no_transition_test({
  syntax: "<url>+",
  from: 'url("https://example.com/foo") url("https://example.com/bar")',
  to: 'url("https://example.com/to")',
}, 'A custom property of type <url>+ does not yield a CSS Transition if the lists do not contain the same number of values');

</script>