Skip to content

Commit 32d0acb

Browse files
SiilwynPowerKiKi
andcommitted
Set animation shorthand order to match spec
Co-authored-by: Adrien Crivelli <[email protected]>
1 parent 4f7413f commit 32d0acb

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

src/core/shorthand-data.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
export const shorthandData = {
22
'animation': [
3-
'animation-name',
43
'animation-duration',
54
'animation-timing-function',
65
'animation-delay',
76
'animation-iteration-count',
87
'animation-direction',
98
'animation-fill-mode',
109
'animation-play-state',
10+
'animation-name',
11+
'animation-timeline',
1112
],
1213
'animation-range': [
1314
'animation-range-start',

src/orders/concentric-css.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,7 @@ export const properties = [
123123
'view-timeline-name',
124124
'view-timeline-axis',
125125
'view-timeline-inset',
126-
'animation-timeline',
127126
'animation',
128-
'animation-composition',
129127
'animation-duration',
130128
'animation-timing-function',
131129
'animation-delay',
@@ -134,6 +132,8 @@ export const properties = [
134132
'animation-fill-mode',
135133
'animation-play-state',
136134
'animation-name',
135+
'animation-timeline',
136+
'animation-composition',
137137
'animation-range',
138138
'animation-range-start',
139139
'animation-range-end',

src/orders/frakto.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -384,16 +384,16 @@ export const properties = [
384384
'view-timeline-name',
385385
'view-timeline-axis',
386386
'view-timeline-inset',
387-
'animation-timeline',
388387
'animation',
389-
'animation-name',
390388
'animation-duration',
391389
'animation-timing-function',
392390
'animation-delay',
393391
'animation-iteration-count',
394392
'animation-direction',
395393
'animation-fill-mode',
396394
'animation-play-state',
395+
'animation-name',
396+
'animation-timeline',
397397
'animation-composition',
398398
'animation-range',
399399
'animation-range-start',
@@ -474,5 +474,5 @@ export const properties = [
474474
'math-depth',
475475
'math-style',
476476
'src',
477-
'tab-size'
477+
'tab-size',
478478
];

src/orders/smacss.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,7 @@ export const properties = [
366366
'view-timeline-name',
367367
'view-timeline-axis',
368368
'view-timeline-inset',
369-
'animation-timeline',
370369
'animation',
371-
'animation-composition',
372370
'animation-duration',
373371
'animation-timing-function',
374372
'animation-delay',
@@ -377,6 +375,8 @@ export const properties = [
377375
'animation-fill-mode',
378376
'animation-play-state',
379377
'animation-name',
378+
'animation-timeline',
379+
'animation-composition',
380380
'animation-range',
381381
'animation-range-start',
382382
'animation-range-end',

0 commit comments

Comments
 (0)