diff --git a/README.md b/README.md index 7af704b..cf35f36 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ CSS3 syntax (and syntax defined in some foreign specifications) support for INSTALLATION ------------ -I **strongly** recommend to install this plugin on *Vim 8.0 or higher with +I **strongly** recommend to install this plugin on *Vim 8.1 or higher with default runtime files*. diff --git a/after/syntax/css/align-3.vim b/after/syntax/css/align-3.vim new file mode 100644 index 0000000..632679e --- /dev/null +++ b/after/syntax/css/align-3.vim @@ -0,0 +1,5 @@ +syn match cssFontProp contained "\" +syn match cssFontProp contained "\<\(row-\)\=gap\>" +syn keyword cssFontAttr contained safe unsafe legacy +syn match cssFontAttr contained "\" +syn match cssFontAttr contained "\" diff --git a/after/syntax/css/animations-1.vim b/after/syntax/css/animations-1.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/backgrounds-3.vim b/after/syntax/css/backgrounds-3.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-backgrounds-4.vim b/after/syntax/css/backgrounds-4.vim similarity index 100% rename from after/syntax/css/css-backgrounds-4.vim rename to after/syntax/css/backgrounds-4.vim diff --git a/after/syntax/css/css3-box.vim b/after/syntax/css/box-3.vim similarity index 81% rename from after/syntax/css/css3-box.vim rename to after/syntax/css/box-3.vim index 56ddbb2..9250c91 100644 --- a/after/syntax/css/css3-box.vim +++ b/after/syntax/css/box-3.vim @@ -2,4 +2,3 @@ syn match cssBoxProp contained "\" syn match cssBoxProp contained "\" syn keyword cssBoxAttr contained scrollbar panner marquee syn match cssBoxAttr contained "\" -syn match cssBoxAttr contained "\" diff --git a/after/syntax/css/break-3.vim b/after/syntax/css/break-3.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-cascade-3.vim b/after/syntax/css/cascade-3.vim similarity index 100% rename from after/syntax/css/css-cascade-3.vim rename to after/syntax/css/cascade-3.vim diff --git a/after/syntax/css/css-cascade-4.vim b/after/syntax/css/cascade-4.vim similarity index 100% rename from after/syntax/css/css-cascade-4.vim rename to after/syntax/css/cascade-4.vim diff --git a/after/syntax/css/color-3.vim b/after/syntax/css/color-3.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-color-4.vim b/after/syntax/css/color-4.vim similarity index 71% rename from after/syntax/css/css-color-4.vim rename to after/syntax/css/color-4.vim index b5b0108..7ebb950 100644 --- a/after/syntax/css/css-color-4.vim +++ b/after/syntax/css/color-4.vim @@ -1,5 +1,3 @@ syn match cssColorProp contained "\" -syn keyword cssColor contained rebeccapurple -syn match cssColor contained "#[0-9A-Fa-f]\{8\}\>" contains=cssUnitDecorators syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|gray\|color\|device-cmyk\|color-mod\=\)\s*(" end=")" oneline keepend syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/after/syntax/css/compositing-1.vim b/after/syntax/css/compositing-1.vim index b0c80e2..9a62e64 100644 --- a/after/syntax/css/compositing-1.vim +++ b/after/syntax/css/compositing-1.vim @@ -1,4 +1,3 @@ -" TODO: create cssCompositingProp and cssCompositingAttr syn keyword cssFontProp contained isolation syn match cssFontProp contained "\<\(mix\|background\)-blend-mode\>" syn keyword cssFontAttr contained multiply screen overlay darken lighten color-dodge color-burn hard-light soft-light difference exclusion hue saturation color luminosity diff --git a/after/syntax/css/conditional-3.vim b/after/syntax/css/conditional-3.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-contain-1.vim b/after/syntax/css/contain-1.vim similarity index 100% rename from after/syntax/css/css-contain-1.vim rename to after/syntax/css/contain-1.vim diff --git a/after/syntax/css/css-content-3.vim b/after/syntax/css/content-3.vim similarity index 100% rename from after/syntax/css/css-content-3.vim rename to after/syntax/css/content-3.vim diff --git a/after/syntax/css/css-counter-styles-3.vim b/after/syntax/css/counter-styles-3.vim similarity index 79% rename from after/syntax/css/css-counter-styles-3.vim rename to after/syntax/css/counter-styles-3.vim index b6bea85..83c3fa3 100644 --- a/after/syntax/css/css-counter-styles-3.vim +++ b/after/syntax/css/counter-styles-3.vim @@ -1,5 +1,3 @@ -" TODO: create cssCounterStyleDescriptor for `@counter-style` descriptors -syn region cssInclude start=/@counter-style\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock syn keyword cssGeneratedContentProp contained system negative prefix suffix range pad fallback syn match cssGeneratedContentProp contained "\<\(additive-\)\=symbols\>" syn match cssGeneratedContentProp contained "\" @@ -12,3 +10,4 @@ syn match cssGeneratedContentAttr contained "\" syn match cssGeneratedContentAttr contained "\<\(japanese\|korean-hanja\|\(simp\|trad\)-chinese\)-\(in\)\=formal\>" syn match cssGeneratedContentAttr contained "\" syn region cssFunction contained matchgroup=cssFunctionName start="\" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/after/syntax/css/css-align-3.vim b/after/syntax/css/css-align-3.vim deleted file mode 100644 index bcd822c..0000000 --- a/after/syntax/css/css-align-3.vim +++ /dev/null @@ -1,5 +0,0 @@ -syn match cssFontProp contained "\<\(justify\|align\|place\)-\(self\|content\|items\)\>" -syn match cssFontProp contained "\<\(\(row\|column\)-\)\=gap\>" -syn keyword cssFontAttr contained safe unsafe legacy -syn match cssFontAttr contained "\<\(self\|flex\)-\(start\|end\)\>" -syn match cssFontAttr contained "\" diff --git a/after/syntax/css/css-animations-1.vim b/after/syntax/css/css-animations-1.vim deleted file mode 100644 index 79d5bdb..0000000 --- a/after/syntax/css/css-animations-1.vim +++ /dev/null @@ -1,3 +0,0 @@ -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained forwards backwards running paused -syn match cssFontAttr contained "\" diff --git a/after/syntax/css/css-backgrounds-3.vim b/after/syntax/css/css-backgrounds-3.vim deleted file mode 100644 index cc2db6f..0000000 --- a/after/syntax/css/css-backgrounds-3.vim +++ /dev/null @@ -1,6 +0,0 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained space round local fill stretch clone slice -syn match cssFontAttr contained "\<\(padding\|border\|content\)-box\>" diff --git a/after/syntax/css/css-break-3.vim b/after/syntax/css/css-break-3.vim deleted file mode 100644 index e3ab359..0000000 --- a/after/syntax/css/css-break-3.vim +++ /dev/null @@ -1,3 +0,0 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontAttr contained "\<\(avoid-\)\=column\>" diff --git a/after/syntax/css/css-color-3.vim b/after/syntax/css/css-color-3.vim deleted file mode 100644 index c4b0149..0000000 --- a/after/syntax/css/css-color-3.vim +++ /dev/null @@ -1,3 +0,0 @@ -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(rgba\|hsla\=\)\s*(" end=")" oneline keepend -syn keyword cssColorProp contained opacity -syn match cssColor contained "\" diff --git a/after/syntax/css/css-device-adapt-1.vim b/after/syntax/css/css-device-adapt-1.vim deleted file mode 100644 index 75edaeb..0000000 --- a/after/syntax/css/css-device-adapt-1.vim +++ /dev/null @@ -1,2 +0,0 @@ -syn match cssFontProp contained "\<\(min\|max\|user\)-zoom\>" -syn region cssInclude start=/@viewport\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock diff --git a/after/syntax/css/css-flexbox-1.vim b/after/syntax/css/css-flexbox-1.vim deleted file mode 100644 index c6e511e..0000000 --- a/after/syntax/css/css-flexbox-1.vim +++ /dev/null @@ -1,5 +0,0 @@ -syn keyword cssFontProp order -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained flex row wrap -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\<\(row\|column\|wrap\)-reverse\>" diff --git a/after/syntax/css/css-font-loading-3.vim b/after/syntax/css/css-font-loading-3.vim deleted file mode 100644 index dd72adc..0000000 --- a/after/syntax/css/css-font-loading-3.vim +++ /dev/null @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css-grid-1.vim b/after/syntax/css/css-grid-1.vim deleted file mode 100644 index 22ed79b..0000000 --- a/after/syntax/css/css-grid-1.vim +++ /dev/null @@ -1,9 +0,0 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained grid dense span -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" -syn match cssValueNumber contained "[01]\(.\d\+\)\=fr" -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|repeat\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/css-layout-api-1.vim b/after/syntax/css/css-layout-api-1.vim deleted file mode 100644 index dd72adc..0000000 --- a/after/syntax/css/css-layout-api-1.vim +++ /dev/null @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css-multicol-1.vim b/after/syntax/css/css-multicol-1.vim deleted file mode 100644 index 3088a8b..0000000 --- a/after/syntax/css/css-multicol-1.vim +++ /dev/null @@ -1,3 +0,0 @@ -syn keyword cssFontProp contained columns -syn match cssFontProp contained "\" -syn match cssFontAttr contained "\" diff --git a/after/syntax/css/css-properties-values-api-1.vim b/after/syntax/css/css-properties-values-api-1.vim deleted file mode 100644 index dd72adc..0000000 --- a/after/syntax/css/css-properties-values-api-1.vim +++ /dev/null @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css-style-attr.vim b/after/syntax/css/css-style-attr.vim deleted file mode 100644 index dd72adc..0000000 --- a/after/syntax/css/css-style-attr.vim +++ /dev/null @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css-syntax-3.vim b/after/syntax/css/css-syntax-3.vim deleted file mode 100644 index dd72adc..0000000 --- a/after/syntax/css/css-syntax-3.vim +++ /dev/null @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css-tables-3.vim b/after/syntax/css/css-tables-3.vim deleted file mode 100644 index dd72adc..0000000 --- a/after/syntax/css/css-tables-3.vim +++ /dev/null @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css-transforms-1.vim b/after/syntax/css/css-transforms-1.vim deleted file mode 100644 index bb4f356..0000000 --- a/after/syntax/css/css-transforms-1.vim +++ /dev/null @@ -1,6 +0,0 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained flat -syn match cssFontAttr contained "\" -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(matrix\(3d\)\=\|translate\(3d\|X\|Y\|Z\)\=\|scale\(3d\|X\|Y\|Z\)\=\|rotate\(3d\|X\|Y\|Z\)\=\|skew\(X\|Y\)\=\|perspective\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/css-transitions-1.vim b/after/syntax/css/css-transitions-1.vim deleted file mode 100644 index 50e25a0..0000000 --- a/after/syntax/css/css-transitions-1.vim +++ /dev/null @@ -1,5 +0,0 @@ -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained linear -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(steps\|cubic-bezier\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/css-typed-om-1.vim b/after/syntax/css/css-typed-om-1.vim deleted file mode 100644 index dd72adc..0000000 --- a/after/syntax/css/css-typed-om-1.vim +++ /dev/null @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css3-conditional.vim b/after/syntax/css/css3-conditional.vim deleted file mode 100644 index 9bb5c3e..0000000 --- a/after/syntax/css/css3-conditional.vim +++ /dev/null @@ -1 +0,0 @@ -syn region cssInclude start=/@supports\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock diff --git a/after/syntax/css/css3-namespace.vim b/after/syntax/css/css3-namespace.vim deleted file mode 100644 index dd72adc..0000000 --- a/after/syntax/css/css3-namespace.vim +++ /dev/null @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css3-page.vim b/after/syntax/css/css3-page.vim deleted file mode 100644 index 162807c..0000000 --- a/after/syntax/css/css3-page.vim +++ /dev/null @@ -1,3 +0,0 @@ -" TODO: Create cssPageAttr group -syn keyword cssFontAttr contained recto verso -syn match cssFontAttr contained "\<\(avoid-\)\=page\>" diff --git a/after/syntax/css/cssom-1.vim b/after/syntax/css/cssom-1.vim index dd72adc..e69de29 100644 --- a/after/syntax/css/cssom-1.vim +++ b/after/syntax/css/cssom-1.vim @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/device-adapt-1.vim b/after/syntax/css/device-adapt-1.vim new file mode 100644 index 0000000..476eb63 --- /dev/null +++ b/after/syntax/css/device-adapt-1.vim @@ -0,0 +1,2 @@ +syn match cssFontProp contained "\<\(min\|max\|user\)-zoom\>" +syn match cssFontDescriptor "@viewport\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/after/syntax/css/css-display-3.vim b/after/syntax/css/display-3.vim similarity index 100% rename from after/syntax/css/css-display-3.vim rename to after/syntax/css/display-3.vim diff --git a/after/syntax/css/css3-exclusions.vim b/after/syntax/css/exclusions-3.vim similarity index 100% rename from after/syntax/css/css3-exclusions.vim rename to after/syntax/css/exclusions-3.vim diff --git a/after/syntax/css/flexbox-1.vim b/after/syntax/css/flexbox-1.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/font-loading-3.vim b/after/syntax/css/font-loading-3.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-fonts-3.vim b/after/syntax/css/fonts-3.vim similarity index 76% rename from after/syntax/css/css-fonts-3.vim rename to after/syntax/css/fonts-3.vim index 16522fa..bf75c5d 100644 --- a/after/syntax/css/css-fonts-3.vim +++ b/after/syntax/css/fonts-3.vim @@ -1,7 +1,3 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" syn keyword cssFontAttr contained unicase ordinal jis78 jis83 jis90 jis04 simplified traditional syn match cssFontAttr contained "\<\(no-\)\=\(common\|discretionary\|historical\)-ligatures\>" syn match cssFontAttr contained "\<\(no-\)\=contextual\>" diff --git a/after/syntax/css/css-fonts-4.vim b/after/syntax/css/fonts-4.vim similarity index 67% rename from after/syntax/css/css-fonts-4.vim rename to after/syntax/css/fonts-4.vim index c9a0250..30a7888 100644 --- a/after/syntax/css/css-fonts-4.vim +++ b/after/syntax/css/fonts-4.vim @@ -5,8 +5,7 @@ syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" -syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark syn match cssFontAttr contained "\" -syn region cssInclude start=/@font-palette-values\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock +syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/after/syntax/css/css-gcpm-3.vim b/after/syntax/css/gcpm-3.vim similarity index 100% rename from after/syntax/css/css-gcpm-3.vim rename to after/syntax/css/gcpm-3.vim diff --git a/after/syntax/css/geometry-1.vim b/after/syntax/css/geometry-1.vim index dd72adc..e69de29 100644 --- a/after/syntax/css/geometry-1.vim +++ b/after/syntax/css/geometry-1.vim @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/grid-1.vim b/after/syntax/css/grid-1.vim new file mode 100644 index 0000000..6a61f34 --- /dev/null +++ b/after/syntax/css/grid-1.vim @@ -0,0 +1,5 @@ +syn match cssFontProp contained "\" +syn keyword cssFontAttr contained dense span +syn match cssFontAttr contained "\" +syn match cssValueNumber contained "[01]\(.\d\+\)\=fr" +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|repeat\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/css-grid-2.vim b/after/syntax/css/grid-2.vim similarity index 55% rename from after/syntax/css/css-grid-2.vim rename to after/syntax/css/grid-2.vim index a216552..900c8d1 100644 --- a/after/syntax/css/css-grid-2.vim +++ b/after/syntax/css/grid-2.vim @@ -1,2 +1 @@ -syn keyword cssFontAttr contained subgrid syn match cssValueNumber contained "\d\(.\d\+\)\=ar" diff --git a/after/syntax/css/css3-images.vim b/after/syntax/css/images-3.vim similarity index 67% rename from after/syntax/css/css3-images.vim rename to after/syntax/css/images-3.vim index de283f4..c10d823 100644 --- a/after/syntax/css/css3-images.vim +++ b/after/syntax/css/images-3.vim @@ -1,6 +1,6 @@ syn match cssFontProp contained "\" syn match cssFontProp contained "\" -syn keyword cssFontAttr contained contain cover snap -syn match cssFontAttr contained "\" +syn keyword cssFontAttr contained snap syn match cssFontAttr contained "\" -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(\(repeating-\)\=\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend +syn match cssFontAttr contained "\" +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(repeating-\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/css-images-4.vim b/after/syntax/css/images-4.vim similarity index 100% rename from after/syntax/css/css-images-4.vim rename to after/syntax/css/images-4.vim diff --git a/after/syntax/css/css-inline-3.vim b/after/syntax/css/inline-3.vim similarity index 100% rename from after/syntax/css/css-inline-3.vim rename to after/syntax/css/inline-3.vim diff --git a/after/syntax/css/layout-api-1.vim b/after/syntax/css/layout-api-1.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-line-grid-1.vim b/after/syntax/css/line-grid-1.vim similarity index 83% rename from after/syntax/css/css-line-grid-1.vim rename to after/syntax/css/line-grid-1.vim index 35de05b..78c3fe9 100644 --- a/after/syntax/css/css-line-grid-1.vim +++ b/after/syntax/css/line-grid-1.vim @@ -1,4 +1,3 @@ -" TODO: create cssLineGridProp and cssLineGridAttr syn match cssFontProp contained "\" syn keyword cssFontAttr contained create diff --git a/after/syntax/css/css-lists-3.vim b/after/syntax/css/lists-3.vim similarity index 100% rename from after/syntax/css/css-lists-3.vim rename to after/syntax/css/lists-3.vim diff --git a/after/syntax/css/css-logical-1.vim b/after/syntax/css/logical-1.vim similarity index 100% rename from after/syntax/css/css-logical-1.vim rename to after/syntax/css/logical-1.vim diff --git a/after/syntax/css/css-masking-1.vim b/after/syntax/css/masking-1.vim similarity index 77% rename from after/syntax/css/css-masking-1.vim rename to after/syntax/css/masking-1.vim index 2136111..224c9ba 100644 --- a/after/syntax/css/css-masking-1.vim +++ b/after/syntax/css/masking-1.vim @@ -1,10 +1,7 @@ -" TODO: create cssMaskingProp group and cssMaskingValue group syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn keyword cssFontAttr contained nonzero evenodd alpha luminance add subtract intersect exclude syn match cssFontAttr contained "\<\(fill\|stroke\|view\)-box\>" syn match cssFontAttr contained "\" - -" http://www.w3.org/TR/css-masking/#MaskElement -syn keyword cssTagName mask +syn match cssTagName "\" diff --git a/after/syntax/css/multicol-1.vim b/after/syntax/css/multicol-1.vim new file mode 100644 index 0000000..1f08bb6 --- /dev/null +++ b/after/syntax/css/multicol-1.vim @@ -0,0 +1 @@ +syn match cssFontAttr contained "\" diff --git a/after/syntax/css/namespace-3.vim b/after/syntax/css/namespace-3.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-overflow-3.vim b/after/syntax/css/overflow-3.vim similarity index 100% rename from after/syntax/css/css-overflow-3.vim rename to after/syntax/css/overflow-3.vim diff --git a/after/syntax/css/css-overflow-4.vim b/after/syntax/css/overflow-4.vim similarity index 100% rename from after/syntax/css/css-overflow-4.vim rename to after/syntax/css/overflow-4.vim diff --git a/after/syntax/css/page-3.vim b/after/syntax/css/page-3.vim new file mode 100644 index 0000000..59ffb99 --- /dev/null +++ b/after/syntax/css/page-3.vim @@ -0,0 +1 @@ +syn keyword cssFontAttr contained recto verso diff --git a/after/syntax/css/css-page-floats-3.vim b/after/syntax/css/page-floats-3.vim similarity index 100% rename from after/syntax/css/css-page-floats-3.vim rename to after/syntax/css/page-floats-3.vim diff --git a/after/syntax/css/css-paint-api-1.vim b/after/syntax/css/paint-api-1.vim similarity index 100% rename from after/syntax/css/css-paint-api-1.vim rename to after/syntax/css/paint-api-1.vim diff --git a/after/syntax/css/css-position-3.vim b/after/syntax/css/position-3.vim similarity index 100% rename from after/syntax/css/css-position-3.vim rename to after/syntax/css/position-3.vim diff --git a/after/syntax/css/properties-values-api-1.vim b/after/syntax/css/properties-values-api-1.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-pseudo-4.vim b/after/syntax/css/pseudo-4.vim similarity index 100% rename from after/syntax/css/css-pseudo-4.vim rename to after/syntax/css/pseudo-4.vim diff --git a/after/syntax/css/css-regions-1.vim b/after/syntax/css/regions-1.vim similarity index 100% rename from after/syntax/css/css-regions-1.vim rename to after/syntax/css/regions-1.vim diff --git a/after/syntax/css/css-rhythm-1.vim b/after/syntax/css/rhythm-1.vim similarity index 100% rename from after/syntax/css/css-rhythm-1.vim rename to after/syntax/css/rhythm-1.vim diff --git a/after/syntax/css/css-round-display-1.vim b/after/syntax/css/round-display-1.vim similarity index 100% rename from after/syntax/css/css-round-display-1.vim rename to after/syntax/css/round-display-1.vim diff --git a/after/syntax/css/css-ruby-1.vim b/after/syntax/css/ruby-1.vim similarity index 100% rename from after/syntax/css/css-ruby-1.vim rename to after/syntax/css/ruby-1.vim diff --git a/after/syntax/css/css-scoping-1.vim b/after/syntax/css/scoping-1.vim similarity index 73% rename from after/syntax/css/css-scoping-1.vim rename to after/syntax/css/scoping-1.vim index c8676e7..534e7d7 100644 --- a/after/syntax/css/css-scoping-1.vim +++ b/after/syntax/css/scoping-1.vim @@ -1,5 +1,5 @@ -syn region cssInclude start=/@scope\>/ end=/\ze{/ skipwhite skipnl nextgroup=cssMediaBlock syn keyword cssPseudoClassId contained host shadow content syn match cssPseudoClassId contained "\<\(scope\|host\)-context\>" syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(host\)(" end=")" oneline syn match cssSelectorOp2 "/deep/" +syn match cssFontDescriptor "@scope\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/after/syntax/css/css-scroll-snap-1.vim b/after/syntax/css/scroll-snap-1.vim similarity index 100% rename from after/syntax/css/css-scroll-snap-1.vim rename to after/syntax/css/scroll-snap-1.vim diff --git a/after/syntax/css/selectors-3.vim b/after/syntax/css/selectors-3.vim index 4b6429c..d6b3c6a 100644 --- a/after/syntax/css/selectors-3.vim +++ b/after/syntax/css/selectors-3.vim @@ -1,5 +1,2 @@ -syn keyword cssPseudoClassId contained target enabled disabled checked indeterminate root empty -syn match cssPseudoClassId contained "\" -syn match cssPseudoClassId contained "\" -syn match cssPseudoClassId contained "\" +syn keyword cssPseudoClassId contained enabled indeterminate syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth\(-last\)\=-\(child\|of-type\)\|not\)(" end=")" oneline diff --git a/after/syntax/css/selectors-4.vim b/after/syntax/css/selectors-4.vim index 39f50d4..534fa35 100644 --- a/after/syntax/css/selectors-4.vim +++ b/after/syntax/css/selectors-4.vim @@ -1,5 +1,5 @@ syn match cssSelectorOp "[|]" -syn keyword cssPseudoClassId contained scope current past future default valid invalid required optional blank playing paused +syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused syn match cssPseudoClassId contained "\<\(any\|local\)-link\>" syn match cssPseudoClassId contained "\" syn match cssPseudoClassId contained "\" diff --git a/after/syntax/css/css-shapes-1.vim b/after/syntax/css/shapes-1.vim similarity index 100% rename from after/syntax/css/css-shapes-1.vim rename to after/syntax/css/shapes-1.vim diff --git a/after/syntax/css/css-sizing-3.vim b/after/syntax/css/sizing-3.vim similarity index 100% rename from after/syntax/css/css-sizing-3.vim rename to after/syntax/css/sizing-3.vim diff --git a/after/syntax/css/css3-speech.vim b/after/syntax/css/speech-3.vim similarity index 100% rename from after/syntax/css/css3-speech.vim rename to after/syntax/css/speech-3.vim diff --git a/after/syntax/css/style-attr.vim b/after/syntax/css/style-attr.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/svg2.vim b/after/syntax/css/svg2.vim index 84a40a0..aca86c9 100644 --- a/after/syntax/css/svg2.vim +++ b/after/syntax/css/svg2.vim @@ -1,20 +1,15 @@ syn keyword cssTagName animate animateMotion animateTransform circle clipPath cursor defs desc discard ellipse feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight feDropShadow feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile feTurbulence filter foreignObject g hatch hatchpath image line linearGradient marker mesh meshgradient meshpatch meshrow metadata mpath path pattern polygon polyline radialGradient rect set solidcolor stop switch symbol text textPath tspan unknown use view - syn keyword cssFontProp contained cx cy d r rx ry x y syn match cssFontProp contained "\" -syn match cssFontProp contained "\" syn match cssFontProp contained "\" -syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" - -syn keyword cssFontAttr contained crispEdges geometricPrecision optimizeQuality painted stroke viewport visibleFill visiblePainted visibleStroke +syn keyword cssFontAttr contained crispEdges geometricPrecision optimizeQuality viewport syn match cssFontAttr contained "\" syn match cssFontAttr contained "\" syn match cssFontAttr contained "\" syn match cssFontAttr contained "\" - syn region cssFunction contained matchgroup=cssFunctionName start="\<\(child\|icc-color\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/syntax-3.vim b/after/syntax/css/syntax-3.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/tables-3.vim b/after/syntax/css/tables-3.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-text-3.vim b/after/syntax/css/text-3.vim similarity index 100% rename from after/syntax/css/css-text-3.vim rename to after/syntax/css/text-3.vim diff --git a/after/syntax/css/css-text-4.vim b/after/syntax/css/text-4.vim similarity index 100% rename from after/syntax/css/css-text-4.vim rename to after/syntax/css/text-4.vim diff --git a/after/syntax/css/css-text-decor-3.vim b/after/syntax/css/text-decor-3.vim similarity index 100% rename from after/syntax/css/css-text-decor-3.vim rename to after/syntax/css/text-decor-3.vim diff --git a/after/syntax/css/css-text-decor-4.vim b/after/syntax/css/text-decor-4.vim similarity index 100% rename from after/syntax/css/css-text-decor-4.vim rename to after/syntax/css/text-decor-4.vim diff --git a/after/syntax/css/css-timing-1.vim b/after/syntax/css/timing-1.vim similarity index 100% rename from after/syntax/css/css-timing-1.vim rename to after/syntax/css/timing-1.vim diff --git a/after/syntax/css/transforms-1.vim b/after/syntax/css/transforms-1.vim new file mode 100644 index 0000000..7b35e2f --- /dev/null +++ b/after/syntax/css/transforms-1.vim @@ -0,0 +1 @@ +syn keyword cssFontAttr contained flat diff --git a/after/syntax/css/transitions-1.vim b/after/syntax/css/transitions-1.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/typed-om-1.vim b/after/syntax/css/typed-om-1.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-ui-3.vim b/after/syntax/css/ui-3.vim similarity index 100% rename from after/syntax/css/css-ui-3.vim rename to after/syntax/css/ui-3.vim diff --git a/after/syntax/css/css-ui-4.vim b/after/syntax/css/ui-4.vim similarity index 100% rename from after/syntax/css/css-ui-4.vim rename to after/syntax/css/ui-4.vim diff --git a/after/syntax/css/css-values-3.vim b/after/syntax/css/values-3.vim similarity index 100% rename from after/syntax/css/css-values-3.vim rename to after/syntax/css/values-3.vim diff --git a/after/syntax/css/css-variables-1.vim b/after/syntax/css/variables-1.vim similarity index 100% rename from after/syntax/css/css-variables-1.vim rename to after/syntax/css/variables-1.vim diff --git a/after/syntax/css/web-animations-1.vim b/after/syntax/css/web-animations-1.vim index dd72adc..e69de29 100644 --- a/after/syntax/css/web-animations-1.vim +++ b/after/syntax/css/web-animations-1.vim @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css-will-change-1.vim b/after/syntax/css/will-change-1.vim similarity index 100% rename from after/syntax/css/css-will-change-1.vim rename to after/syntax/css/will-change-1.vim diff --git a/after/syntax/css/worklets-1.vim b/after/syntax/css/worklets-1.vim index dd72adc..e69de29 100644 --- a/after/syntax/css/worklets-1.vim +++ b/after/syntax/css/worklets-1.vim @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css-writing-modes-3.vim b/after/syntax/css/writing-modes-3.vim similarity index 100% rename from after/syntax/css/css-writing-modes-3.vim rename to after/syntax/css/writing-modes-3.vim diff --git a/after/syntax/css/css-writing-modes-4.vim b/after/syntax/css/writing-modes-4.vim similarity index 100% rename from after/syntax/css/css-writing-modes-4.vim rename to after/syntax/css/writing-modes-4.vim diff --git a/test/test.css b/test/test.css index 733170f..ff2ad4a 100644 --- a/test/test.css +++ b/test/test.css @@ -1,107 +1,84 @@ .align-3 { - justify-self: safe; - justify-content: unsafe; - justify-items: self-start; - align-self: self-end; - align-content: flex-start; - align-items: flex-end; - place-self: space-around; - place-content: space-between; - place-items: space-evenly; - row-gap: legacy; - column-gap: auto; + place-self: auto; + place-content: auto; + place-items: auto; + row-gap: auto; gap: auto; + display: safe; + display: unsafe; + display: self-start; + display: self-end; + display: space-evenly; + display: legacy; } -.animations { - animation: forwards; - animation-delay: backwards; - animation-direction: running; - animation-duration: paused; - animation-fill-mode: alternate-reverse; - animation-iteration-count: auto; - animation-name: auto; - animation-play-state: auto; - animation-timing-function: auto; +.animations-1 { + display: auto; } .backgrounds-3 { - background-clip: space; - background-origin: round; - background-size: local; - border-image: fill; - border-image-source: stretch; - border-image-slice: clone; - border-image-width: slice; - border-image-outset: padding-box; - border-image-repeat: border-box; - border-radius: content-box; - border-top-right-radius: auto; - border-bottom-right-radius: auto; - border-bottom-left-radius: auto; - border-top-left-radius: auto; - box-shadow: auto; + display: auto; } .backgrounds-4 { - background-position-x: x-start; - background-position-y: x-end; - background-position-inline: y-start; - background-position-block: y-end; - corner-shape: bevel; - corners: scoop; - border-limit: notch; + background-position-x: auto; + background-position-y: auto; + background-position-inline: auto; + background-position-block: auto; + corner-shape: auto; + corners: auto; + border-limit: auto; border-clip: auto; border-clip-top: auto; border-clip-right: auto; border-clip-bottom: auto; border-clip-left: auto; + display: x-start; + display: x-end; + display: y-start; + display: y-end; + display: bevel; + display: scoop; + display: notch; } -.box { - overflow-style: scrollbar; - overflow-x: panner; - overflow-y: move; - rotation-point: marquee; +.box-3 { + overflow-style: auto; + overflow-x: auto; + overflow-y: auto; + rotation-point: auto; + display: scrollbar; + display: panner; + display: marquee; display: ruby; display: ruby-base; display: ruby-text; display: ruby-base-group; display: ruby-text-group; - display: no-display; - display: no-content; } .break-3 { - break-after: avoid-column; - break-before: auto; - break-inside: auto; - box-decoration-break: auto; + display: auto; } .cascade-3 { - all: initial; + all: auto; + display: initial; display: unset; } -@import "test.css" supports(display: auto); .cascade-4 { display: revert; } -.color { - opacity: rgba(0, 0, 0, 1); - display: hsla(0, 0, 0, 1); - display: currentcolor; -} +@import "test.css" supports(display: auto); -@color-profile swopc { - src: url('http://example.org/swop-coated.icc'); +.color-3 { + display: auto; } .color-4 { - color-adjust: #FFEEDDFF; - display: rebeccapurple; + color-adjust: auto; display: hwb(120deg, 44%, 50%); display: lab(1 2 3); display: lch(4 5 6); @@ -111,10 +88,17 @@ display: color-mod(#112233 tint(50%)); } +@color-profile swopc { + src: url("http://example.org/swop-coated.icc"); +} + .compositing-1 { - mix-blend-mode: multiply; - isolation: screen; - background-blend-mode: overlay; + mix-blend-mode: auto; + isolation: auto; + background-blend-mode: auto; + display: multiply; + display: screen; + display: overlay; display: darken; display: lighten; display: color-dodge; @@ -132,41 +116,51 @@ @supports (display: auto) or (display: auto) not (display: auto) { - .conditional { + .conditional-3 { display: auto; } } .contain-1 { - contain: layout; + contain: auto; + display: layout; display: paint; display: size; } .content-3 { - string-set: open; - bookmark-level: closed; - bookmark-label: leader('.'); - bookmark-state: string(heading, first); + string-set: auto; + bookmark-level: auto; + bookmark-label: auto; + bookmark-state: auto; + display: open; + display: closed; + display: leader('.'); + display: string(heading, first); display: target-counter(attr(href url), page); display: target-counters(lack-of-example); display: target-text(attr(href url)); } @counter-style counter-styles-3 { - system: cyclic; - negative: symbolic; - prefix: additive; - suffix: extends; - range: bullets; - pad: numbers; - fallback: words; - symbols: symbols("*" "\2020" "\2021" "\A7"); + system: auto; + negative: auto; + prefix: auto; + suffix: auto; + range: auto; + pad: auto; + fallback: auto; + symbols: auto; additive-symbols: auto; speak-as: auto; -} - -.counter-styles-3 { + display: cyclic; + display: symbolic; + display: additive; + display: extends; + display: bullets; + display: numbers; + display: words; + display: symbols("*" "\2020" "\2021" "\A7"); display: arabic-indic; display: upper-armenian; display: lower-armenian; @@ -212,6 +206,16 @@ scroll-behavior: smooth; } +.device-adapt-1 { + display: auto; +} + +@viewport { + min-zoom: auto; + max-zoom: auto; + user-zoom: auto; +} + .display-3 { display: flow; display: flow-root; @@ -219,19 +223,21 @@ display: discard; } -.exclusions { - wrap-flow: minimum; - wrap-through: maximum; +.exclusions-3 { + wrap-flow: auto; + wrap-through: auto; + display: minimum; + display: maximum; } .fill-stroke-3 { - fill-rule: butt; - fill-break: arcs; - fill-color: stupid; - fill-image: compress; - fill-origin: dashes; - fill-position: gaps; - fill-size: bounding-box; + fill-rule: auto; + fill-break: auto; + fill-color: auto; + fill-image: auto; + fill-origin: auto; + fill-position: auto; + fill-size: auto; fill-repeat: auto; fill: auto; fill-opacity: auto; @@ -253,13 +259,22 @@ stroke-repeat: auto; stroke: auto; stroke-opacity: auto; + display: butt; + display: arcs; + display: stupid; + display: compress; + display: dashes; + display: gaps; + display: bounding-box; } .filter-effects-1 { - flood-color: sRGB; - flood-opacity: linearRGB; + flood-color: auto; + flood-opacity: auto; color-interpolation-filters: auto; lighting-color: auto; + display: sRGB; + display: linearRGB; display: blur(5px); display: brightness(0.4); display: contrast(200%); @@ -273,13 +288,7 @@ } .flexbox-1 { - flex-direction: flex; - flex-wrap: inline-flex; - flex-flow: row; - order: row-reverse; - flex: column-reverse; - flex-grow: wrap; - flex-shrink: wrap-reverse; + display: auto; } .font-loading-3 { @@ -287,15 +296,15 @@ } .fonts-3 { - font-feature-settings: common-ligatures; - font-kerning: no-common-ligatures; - font-synthesis: no-discretionary-ligatures; - font-variant-alternates: historical-ligatures; - font-variant-caps: no-historical-ligatures; - font-variant-east-asian: contextual; - font-variant-ligatures: no-contextual; - font-variant-numeric: stylistic(feature-value-name); - font-variant-position: historical-forms; + display: common-ligatures; + display: no-common-ligatures; + display: no-discretionary-ligatures; + display: historical-ligatures; + display: no-historical-ligatures; + display: contextual; + display: no-contextual; + display: stylistic(feature-value-name); + display: historical-forms; display: styleset(feature-value-name #); display: character-variant(feature-vlue-name #); display: swash(feature-value-name); @@ -325,15 +334,23 @@ } .fonts-4 { - font-min-size: emoji; - font-max-size: math; - font-display: fangsong; - font-optical-sizing: system-ui; - font-variation-settings: infinity; - font-palette: swap; - font-presentation: fallback; - font-language-override: optional; - font-variant-emoji: light; + font-min-size: auto; + font-max-size: auto; + font-display: auto; + font-optical-sizing: auto; + font-variation-settings: auto; + font-palette: auto; + font-presentation: auto; + font-variant-emoji: auto; + display: emoji; + display: math; + display: fangsong; + display: system-ui; + display: infinity; + display: swap; + display: fallback; + display: optional; + display: light; display: dark; } @@ -343,9 +360,12 @@ .gcpm-3::footnote-call, .gcpm-3::footnote-marker { - running: footnote; - footnote-display: line; - footnote-policy: element(header); + running: auto; + footnote-display: auto; + footnote-policy: auto; + display: footnote; + display: line; + display: element(header); display: running(heading); } @@ -354,53 +374,55 @@ } .grid-1 { - grid-template-columns: grid; - grid-template-rows: inline-grid; - grid-template-areas: minmax(0, 1); grid-template: auto; - grid-auto-rows: repeat(4); - grid-auto-columns: 0.2fr; - grid-auto-flow: dense; - grid: auto-flow; - grid-row-start: span; - grid-column-start: auto; - grid-row-end: auto; - grid-column-end: auto; - grid-column: auto; - grid-row: auto; - grid-area: auto; + display: minmax(0, 1); + display: repeat(4); + display: 0.2fr; + display: dense; + display: auto-flow; + display: span; } .grid-2 { - display: subgrid; display: 1.618ar; } +.html5, +picture, +rb, +rtc, +slot, +template { + display: auto; +} + .images-3 { - object-fit: contain; - object-position: cover; - image-orientation: snap; + object-fit: auto; + object-position: auto; + image-orientation: auto; + display: snap; display: scale-down; display: from-image; - display: linear-gradient(to bottom, yellow, blue); - display: radial-gradient(farthest-corner at 50% 50%, yellow, green); display: repeating-linear-gradient(to bottom, yellow, blue); display: repeating-radial-gradient(farthest-corner at 50% 50%, yellow, green); } .images-4 { - image-resolution: image("sprite.svg#xywh=40,0,20,20"); + image-resolution: auto; + display: image("sprite.svg#xywh=40,0,20,20"); display: element(#test); display: conic-gradient(at 25% 30%, white, black 60%); } .inline-3 { - dominant-baseline: mathematical; - alignment-baseline: ideographic; + dominant-baseline: auto; + alignment-baseline: auto; baseline-shift: auto; initial-letter: auto; initial-letter-align: auto; initial-letter-wrap: auto; + display: mathematical; + display: ideographic; } .layout-api-1 { @@ -408,21 +430,28 @@ } .line-grid-1 { - line-grid: create; - line-snap: block-start; - box-snap: block-end; + line-grid: auto; + line-snap: auto; + box-snap: auto; + display: create; + display: block-start; + display: block-end; display: first-baseline; display: last-baseline; } .lists-3::marker { - display: auto; + marker-side: auto; + counter-set: auto; + display: marker; + display: list-container; + display: counters(lack-of-example); } .logical-1 { - block-size: logical; - inline-size: physical; - min-block-size: rotate; + block-size: auto; + inline-size: auto; + min-block-size: auto; min-inline-size: auto; max-block-size: auto; max-inline-size: auto; @@ -471,21 +500,37 @@ border-inline: auto; background-image-transform: auto; border-image-transform: auto; + display: logical; + display: physical; + display: rotate; } -.masking-1 { - clip-path: fill-box; - clip-rule: stroke-box; - mask-image: view-box; - mask-mode: nonzero; - mask-repeat: evenodd; - mask-position: alpha; - mask-clip: luminance; - mask-origin: no-clip; - mask-size: add; - mask-composite: subtract; - mask: intersect; - mask-border-source: exclude; +.masking-1, +mask { + clip-path: auto; + clip-rule: auto; + mask-image: auto; + mask-mode: auto; + mask-repeat: auto; + mask-position: auto; + mask-clip: auto; + mask-origin: auto; + mask-size: auto; + mask-composite: auto; + mask: auto; + mask-border-source: auto; + display: fill-box; + display: stroke-box; + display: view-box; + display: nonzero; + display: evenodd; + display: alpha; + display: luminance; + display: no-clip; + display: add; + display: subtract; + display: intersect; + display: exclude; mask-border-mode: auto; mask-border-slice: auto; mask-border-width: auto; @@ -496,26 +541,20 @@ } .motion-1 { - offset-path: ray(45deg closest-side); - offset-distance: path(M 100 100 L 300 100 L 200 300 z); + offset-path: auto; + offset-distance: auto; offset-anchor: auto; offset-rotate: auto; offset: auto; + display: ray(45deg closest-side); + display: path(M 100 100 L 300 100 L 200 300 z); } .multicol-1 { - columns: column; - column-count: balance; - column-fill: balance-all; - column-rule: auto; - column-rule-color: auto; - column-rule-style: auto; - column-rule-width: auto; - column-span: auto; - column-width: auto; + display: balance-all; } -.namespace { +.namespace-3 { display: auto; } @@ -524,24 +563,27 @@ } .overflow-4::nth-fragment(1) { - scrollbar-gutter: stable; - continue: force; + scrollbar-gutter: auto; + continue: auto; + display: stable; + display: force; display: overflow; display: paginate; display: fragments; } -.page { - display: avoid-page; - display: page; +.page-3 { display: recto; display: verso; } .page-floats-3 { - float-reference: inline-start; - float-defer: inline-end; - float-offset: snap-block; + float-reference: auto; + float-defer: auto; + float-offset: auto; + display: inline-start; + display: inline-end; + display: snap-block; display: snap-inline; display: snap-block(2em, near); display: snap-inline(2em, near); @@ -552,16 +594,18 @@ } .pointerevents { - touch-action: pan-x; + touch-action: auto; + display: pan-x; display: pan-y; display: manipulation; } .position-3 { - offset-before: sticky; + offset-before: auto; offset-end: auto; offset-after: auto; offset-start: auto; + display: sticky; } .properties-values-api-1 { @@ -575,41 +619,49 @@ } .regions-1:region { - flow-into: element; - flow-from: content; - region-fragment: break; + flow-into: auto; + flow-from: auto; + region-fragment: auto; + display: element; + display: content; + display: break; display: region; display: avoid-region; } .rhythm-1 { - line-height-step: margin; - block-step-size: up; - block-step-insert: down; - block-step-align: nearest; + line-height-step: auto; + block-step-size: auto; + block-step-insert: auto; + block-step-align: auto; + display: margin; + display: up; + display: down; + display: nearest; block-step-round: auto; block-step: auto; } @media (device-radius: 50%) { .round-display-1 { - shape-inside: outside-shape; - border-boundary: shape-box; - polar-angle: parent; - polar-distance: polar; + shape-inside: auto; + border-boundary: auto; + polar-angle: auto; + polar-distance: auto; + display: outside-shape; + display: shape-box; + display: parent; + display: polar; } } .ruby-1 { - ruby-position: ruby-base-container; - ruby-merge: ruby-text-container; - ruby-align: inter-character; -} - -@scope .scoping-1 { - div { - display: auto; - } + ruby-position: auto; + ruby-merge: auto; + ruby-align: auto; + display: ruby-base-container; + display: ruby-text-container; + display: inter-character; } .scoping-1:scope-context div, @@ -622,11 +674,17 @@ display: auto; } +@scope .scoping-1 { + div { + display: auto; + } +} + .scroll-snap-1 { - scroll-snap-type: x; - scroll-padding: y; - scroll-margin: mandatory; - scroll-snap-align: proximity; + scroll-snap-type: auto; + scroll-padding: auto; + scroll-margin: auto; + scroll-snap-align: auto; scroll-snap-stop: auto; scroll-padding-top: auto; scroll-padding-right: auto; @@ -648,20 +706,14 @@ scroll-margin-block-end: auto; scroll-margin-block: auto; scroll-margin-inline: auto; + display: x; + display: y; + display: mandatory; + display: proximity; } -.selectors-3:target, .selectors-3:enabled, -.selectors-3:disabled, -.selectors-3:checked, .selectors-3:indeterminate, -.selectors-3:root, -.selectors-3:empty, -.selectors-3:last-child, -.selectors-3:last-of-type, -.selectors-3:first-of-type, -.selectors-3:only-child, -.selectors-3:only-of-type, .selectors-3:nth-child(2n+1), .selectors-3:nth-last-child(-n+2), .selectors-3:nth-of-type(2n+1), @@ -677,7 +729,6 @@ .selectors-4:future, .selectors-4:default, .selectors-4:valid, -.selectors-4:invalid, .selectors-4:required, .selectors-4:optional, .selectors-4:blank, @@ -710,9 +761,12 @@ } .shapes-1 { - shape-outside: margin-box; - shape-image-threshold: inset(50% 50% 50% 50%); - shape-margin: circle(100px 50px 100px); + shape-outside: auto; + shape-image-threshold: auto; + shape-margin: auto; + display: margin-box; + display: inset(50% 50% 50% 50%); + display: circle(100px 50px 100px); display: ellipse(0 0 250px 100px); display: polygon(0 0, 100% 100%, 0 100%); } @@ -723,17 +777,27 @@ display: fit-content(10%); } -.speech { - voice-volume: 10dB; - voice-balance: literal-punctuation; - rest-before: no-punctuation; - rest-after: x-weak; - rest: weak; - voice-rate: strong; - voice-pitch: x-strong; - voice-range: young; - voice-stress: old; - voice-duration: neutral; +.speech-3 { + voice-volume: auto; + voice-balance: auto; + rest-before: auto; + rest-after: auto; + rest: auto; + voice-rate: auto; + voice-pitch: auto; + voice-range: auto; + voice-stress: auto; + voice-duration: auto; + display: 10dB; + display: literal-punctuation; + display: no-punctuation; + display: x-weak; + display: weak; + display: strong; + display: x-strong; + display: young; + display: old; + display: neutral; display: preserve; display: 10st; display: moderate; @@ -744,198 +808,6 @@ display: auto; } -.syntax-3 { - display: auto; -} - -.tables-3 { - display: auto; -} - -.text-3 { - hyphens: manual; - line-break: loose; - overflow-wrap: strict; - tab-size: match-parent; - text-align-all: hanging; - display: each-line; - display: full-width; - display: anywhere; -} - -.text-4 { - text-space-collapse: preserve-auto; - text-space-trim: preserve-trim; - text-wrap: preserve-breaks; - wrap-before: preserve-spaces; - wrap-after: trim-inner; - wrap-inside: discard-before; - hyphenate-character: discard-after; - hyphenate-limit-zone: avoid-line; - hyphenate-limit-chars: avoid-flex; - hyphenate-limit-lines: pre-wrap-auto; - hyphenate-limit-last: no-limit; - text-spacing: spread; - display: trim-start; - display: space-start; - display: trim-end; - display: space-end; - display: trim-adjacent; - display: space-adjacent; - display: no-compress; - display: ideograph-alpha; - display: ideograph-numeric; - display: punctuation; -} - -.text-decor-3 { - text-decoration-color: filled; - text-decoration-line: dot; - text-decoration-style: sesame; - text-emphasis: alphabetic; - text-emphasis-color: ink; - text-emphasis-position: under; - text-emphasis-style: wavy; - display: under; - display: over; - display: triangle; -} - -.text-decor-4 { - text-decoration-width: objects; - text-underline-offset: spaces; - text-decoration-skip: leading-spaces; - text-decoration-skip-ink: trailing-spaces; - text-emphasis-skip: edges; - display: box-decoration; - display: symbols; - display: narrow; -} - -.timing-1 { - display: frames(2); -} - -.transforms-1 { - backface-visibility: flat; - perspective: preserve-3d; - perspective-origin: matrix(1); - transform: matrix3d(1); - transform-origin: translate(1); - transform-style: translate3d(1); - display: translateX(1); - display: translateY(1); - display: translateZ(1); - display: scale(1); - display: scale3d(1); - display: scaleX(1); - display: scaleY(1); - display: scaleZ(1); - display: rotate(1); - display: rotate3d(1); - display: rotateX(1); - display: rotateY(1); - display: rotateZ(1); - display: skew(1); - display: skewX(1); - display: skewY(1); - display: perspective(1); -} - -.transitions { - transition: linear; - transition-property: ease; - transition-duration: ease-in; - transition-timing-function: ease-out; - transition-delay: ease-in-out; - display: step-start; - display: step-end; - display: steps(1, start); - display: cubic-bezier(0.25, 0.1, 0.25, 1.0); -} - -.typed-om-1 { - display: auto; -} - -.ui-3 { - caret-color: grab; - display: grabbing; -} - -.ui-4 { - caret: fade; - caret-shape: fade(1em); - display: underscore; -} - -.values-3 { - display: 1ch; - display: 1vw; - display: 1vh; - display: 1vmin; - display: 1q; - display: 1turn; - display: calc(100%/3 - 2*1em - 2*1px); -} - -.variables-1 { - --var-foo: var(foo); -} - -@viewport { - min-zoom: auto; - max-zoom: auto; - user-zoom: auto; -} - -.web-animations-1 { - display: auto; -} - -.webvtt1::cue, -.webvtt1::cue-region, -.webvtt1::cue(#cue1), -.webvtt1::cue-region(#scroll), { - display: auto; -} - -.will-change-1 { - will-change: scroll-position; -} - -.worklets-1 { - display: auto; -} - -.writing-modes-3 { - writing-mode: before; - text-orientation: after; - text-combine-upright: mixed; - glyph-orientation-vertical: upright; - display: plaintext; - display: sideways; - display: isolate; - display: isolate-override; - display: horizontal-tb; - display: vertical-rl; - display: vertical-lr; -} - -.writing-modes-4 { - display: sideways-rl; - display: sideways-lr; -} - -.html5, -picture, -rb, -rtc, -slot, -template { - display: auto; -} - .svg2, animate, animateMotion, @@ -1004,26 +876,223 @@ tspan, unknown, use, view { - color-interpolation: crispEdges; - color-rendering: geometricPrecision; - cx: optimizeQuality; - cy: painted; - d: visiblePainted; - image-rendering: visibleFill; - marker-end: stroke; - marker-mid: viewport; - marker-start: visibleStroke; - pointer-events: context-fill; - r: context-stroke; - rx: fixed-position; - ry: miter; - shape-rendering: miter-clip; - solid-color: non-scaling-stroke; - solid-opacity: non-scaling-size; - stop-color: non-rotation; - stop-opacity: child(1); - text-anchor: icc-color(foo); + color-interpolation: auto; + color-rendering: auto; + cx: auto; + cy: auto; + d: auto; + marker-end: auto; + marker-mid: auto; + marker-start: auto; + r: auto; + rx: auto; + ry: auto; + shape-rendering: auto; + solid-color: auto; + solid-opacity: auto; + stop-color: auto; + stop-opacity: auto; + text-anchor: auto; vector-effect: auto; x: auto; y: auto; + display: crispEdges; + display: geometricPrecision; + display: optimizeQuality; + display: viewport; + display: context-fill; + display: context-stroke; + display: fixed-position; + display: miter; + display: miter-clip; + display: non-scaling-stroke; + display: non-scaling-size; + display: non-rotation; + display: child(1); + display: icc-color(foo); +} + +.syntax-3 { + display: auto; +} + +.tables-3 { + display: auto; +} + +.text-3 { + hyphens: auto; + line-break: auto; + overflow-wrap: auto; + tab-size: auto; + text-align-all: auto; + display: manual; + display: loose; + display: strict; + display: match-parent; + display: hanging; + display: each-line; + display: full-width; + display: anywhere; +} + +.text-4 { + text-space-collapse: auto; + text-space-trim: auto; + text-wrap: auto; + wrap-before: auto; + wrap-after: auto; + wrap-inside: auto; + hyphenate-character: auto; + hyphenate-limit-zone: auto; + hyphenate-limit-chars: auto; + hyphenate-limit-lines: auto; + hyphenate-limit-last: auto; + text-spacing: auto; + display: preserve-auto; + display: preserve-trim; + display: preserve-breaks; + display: preserve-spaces; + display: trim-inner; + display: discard-before; + display: discard-after; + display: avoid-line; + display: avoid-flex; + display: pre-wrap-auto; + display: no-limit; + display: spread; + display: trim-start; + display: space-start; + display: trim-end; + display: space-end; + display: trim-adjacent; + display: space-adjacent; + display: no-compress; + display: ideograph-alpha; + display: ideograph-numeric; + display: punctuation; +} + +.text-decor-3 { + text-decoration-color: auto; + text-decoration-line: auto; + text-decoration-style: auto; + text-emphasis: auto; + text-emphasis-color: auto; + text-emphasis-position: auto; + text-emphasis-style: auto; + display: filled; + display: dot; + display: sesame; + display: alphabetic; + display: ink; + display: under; + display: wavy; + display: under; + display: over; + display: triangle; +} + +.text-decor-4 { + text-decoration-width: auto; + text-underline-offset: auto; + text-decoration-skip: auto; + text-decoration-skip-ink: auto; + text-emphasis-skip: auto; + display: objects; + display: spaces; + display: leading-spaces; + display: trailing-spaces; + display: edges; + display: box-decoration; + display: symbols; + display: narrow; +} + +.timing-1 { + display: frames(2); +} + +.transforms-1 { + display: flat; +} + +.transitions-1 { + display: auto; +} + +.typed-om-1 { + display: auto; +} + +.ui-3 { + caret-color: auto; + display: grab; + display: grabbing; +} + +.ui-4 { + caret: auto; + caret-shape: auto; + display: fade; + display: fade(1em); + display: underscore; +} + +.values-3 { + display: 1ch; + display: 1vw; + display: 1vh; + display: 1vmin; + display: 1q; + display: 1turn; + display: calc(100%/3 - 2*1em - 2*1px); +} + +.variables-1 { + --var-foo: auto; + display: var(foo); +} + +.web-animations-1 { + display: auto; +} + +.webvtt1::cue, +.webvtt1::cue-region, +.webvtt1::cue(#cue1), +.webvtt1::cue-region(#scroll), { + display: auto; +} + +.will-change-1 { + will-change: auto; + display: scroll-position; +} + +.worklets-1 { + display: auto; +} + +.writing-modes-3 { + writing-mode: auto; + text-orientation: auto; + text-combine-upright: auto; + glyph-orientation-vertical: auto; + display: before; + display: after; + display: mixed; + display: upright; + display: plaintext; + display: sideways; + display: isolate; + display: isolate-override; + display: horizontal-tb; + display: vertical-rl; + display: vertical-lr; +} + +.writing-modes-4 { + display: sideways-rl; + display: sideways-lr; }