From f4925aa8e408a35d1df1967d4144bd66065d54da Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 27 Oct 2022 07:51:32 +0900 Subject: [PATCH] Add scroll-animations-1.vim https://www.w3.org/TR/2022/WD-scroll-animations-1-20221025/ --- after/syntax/css/scroll-animations-1.vim | 2 ++ test/test.css | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 after/syntax/css/scroll-animations-1.vim diff --git a/after/syntax/css/scroll-animations-1.vim b/after/syntax/css/scroll-animations-1.vim new file mode 100644 index 0000000..27438ac --- /dev/null +++ b/after/syntax/css/scroll-animations-1.vim @@ -0,0 +1,2 @@ +syn keyword cssFontProp contained scroll-timeline-name scroll-timeline-axis scroll-timeline view-timeline-name view-timeline-axis view-timeline-inset view-timeline animation-range animation-delay-start animation-delay-end +syn keyword cssFontAttr contained entry exit diff --git a/test/test.css b/test/test.css index a94cefc..01e5b02 100644 --- a/test/test.css +++ b/test/test.css @@ -775,6 +775,21 @@ mask { overflow-anchor: auto; } +.scroll-animations-1 { + scroll-timeline-name: auto; + scroll-timeline-axis: auto; + scroll-timeline: auto; + view-timeline-name: auto; + view-timeline-axis: auto; + view-timeline-inset: auto; + view-timeline: auto; + animation-range: auto; + animation-delay-start: auto; + animation-delay-end: auto; + display: entry; + display: exit; +} + .scroll-snap-1 { scroll-snap-type: auto; scroll-padding: auto;