Skip to content

Commit

Permalink
feat: add CSS animation properties (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsuyoshi84 authored Nov 4, 2023
1 parent f43dfeb commit 4690f50
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
8 changes: 8 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,10 @@ function interaction() {
'animation-iteration-count',
'animation-name',
'animation-play-state',
'animation-range',
'animation-range-start',
'animation-range-end',
'animation-timeline',
'animation-timing-function',
'timeline-scope',

Expand All @@ -355,7 +359,11 @@ function interaction() {
'transition-duration',
'transition-property',
'transition-timing-function',

// view transition
'view-transition-name',

// timeline
'view-timeline',
'view-timeline-name',
'view-timeline-axis',
Expand Down
10 changes: 8 additions & 2 deletions test/test.css
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,10 @@
animation-iteration-count: 1;
animation-name: none;
animation-play-state: running;
animation-range: normal;
animation-range-start: normal;
animation-range-end: normal;
animation-timeline: none;
animation-timing-function: ease;
timeline-scope: none;

Expand All @@ -417,13 +421,15 @@
transition-duration: 0.3s;
transition-property: all;
transition-timing-function: ease;

/* view transition */
view-transition-name: 0;

/* timeline */
view-timeline: none;
view-timeline-name: none;
view-timeline-axis: 0;
view-timeline-inset: 0;

/* scroll timeline */
scroll-timeline: auto;
scroll-timeline-name: test;
scroll-timeline-axis: inline;
Expand Down

0 comments on commit 4690f50

Please sign in to comment.