From b0bc65e6f836e39fee5e064b698d0da4256676f7 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 27 Mar 2025 08:11:25 +0900 Subject: [PATCH] Add forms-1.vim https://www.w3.org/TR/2025/WD-css-forms-1-20250325/ --- after/syntax/css/forms-1.vim | 5 +++++ test/test.css | 29 +++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 after/syntax/css/forms-1.vim diff --git a/after/syntax/css/forms-1.vim b/after/syntax/css/forms-1.vim new file mode 100644 index 0000000..31ce433 --- /dev/null +++ b/after/syntax/css/forms-1.vim @@ -0,0 +1,5 @@ +syn keyword cssFontProp contained slider-orientation +syn keyword cssFontAttr contained base left-to-right right-to-left top-to-bottom bottom-to-top +syn keyword cssPseudoClassId contained picker-icon file-selector-button checkmark thumb track fill field-text clear-icon placeholder step-control step-up step-down field-component field-separator color-swatch low-value high-value optimal-value +syn region cssPseudoClassFn contained matchgroup=cssFunctionName start="\); + display: left-to-right; + display: right-to-left; + display: top-to-bottom; + display: bottom-to-top; +} + .gcpm-3::footnote-call, .gcpm-3::footnote-marker { running: auto;