mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2026-08-10 09:52:28 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
25ab736cea | ||
|
|
f92f5141a8 | ||
|
|
0968a360f0 | ||
|
|
8c8635778b | ||
|
|
e84da152ab | ||
|
|
cd85b1ff4f | ||
|
|
6c0b209f7b | ||
|
|
5fc09da206 | ||
|
|
0d21172b97 | ||
|
|
0c76bef1bf | ||
|
|
8b615eb6a2 |
@@ -1,2 +1,2 @@
|
|||||||
syn keyword cssFontProp contained place-self place-content place-items row-gap
|
syn keyword cssFontProp contained place-self place-content place-items
|
||||||
syn keyword cssFontAttr contained safe unsafe legacy self-start self-end
|
syn keyword cssFontAttr contained safe unsafe legacy self-start self-end
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
syn keyword cssFontProp contained dynamic-range-limit
|
syn keyword cssFontProp contained dynamic-range-limit
|
||||||
syn keyword cssFontAttr contained standard constrained-high
|
syn keyword cssFontAttr contained standard constrained-high
|
||||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<dynamic-range-limit-mix\s*(" end=")" oneline keepend
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<dynamic-range-limit-mix\s*(" end=")" oneline keepend
|
||||||
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<hdr-color\s*(" end=")" keepend
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
syn keyword cssFontProp contained font-synthesis font-synthesis-weight font-synthesis-style font-synthesis-small-caps font-synthesis-position font-named-instance font-display ascent-override descent-override line-gap-override font-optical-sizing font-variation-settings font-palette font-variant-emoji font-presentation base-palette override-color
|
syn keyword cssFontProp contained font-synthesis font-synthesis-weight font-synthesis-style font-synthesis-small-caps font-synthesis-position font-named-instance font-display ascent-override descent-override line-gap-override font-optical-sizing font-variation-settings font-palette font-variant-emoji font-presentation base-palette override-color
|
||||||
syn keyword cssFontAttr contained emoji math fangsong swap fallback light dark contained system-ui contained ui-sans-serif ui-serif ui-monospace ui-rounded contained xxx-large contained historical-forms
|
syn keyword cssFontAttr contained oblique-only emoji math fangsong swap fallback light dark contained system-ui contained ui-sans-serif ui-serif ui-monospace ui-rounded contained xxx-large contained historical-forms
|
||||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(stylistic\|styleset\|character-variant\|swash\|ornaments\|annotation\)\s*(" end=")" oneline keepend
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(stylistic\|styleset\|character-variant\|swash\|ornaments\|annotation\)\s*(" end=")" oneline keepend
|
||||||
syn match cssFontDescriptor "@font-feature-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
syn match cssFontDescriptor "@font-feature-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||||
syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
syn keyword cssFontProp contained column-rule-break row-rule-break rule-break column-rule-outset row-rule-outset rule-outset rule-paint-order row-rule-color row-rule-style row-rule-width row-rule rule-color rule-style rule-width rule
|
syn keyword cssFontProp contained row-gap column-rule-break row-rule-break rule-break column-rule-edge-inset-start column-rule-edge-inset-end column-rule-interior-inset-start column-rule-interior-inset-end row-rule-edge-inset-start row-rule-edge-inset-end row-rule-interior-inset-start row-rule-interior-inset-end rule-overlap row-rule-color rule-color row-rule-style rule-style row-rule-width rule-width row-rule rule
|
||||||
syn keyword cssFontAttr contained spanning-item intersection row-over-column column-over-row
|
syn keyword cssFontAttr contained intersection row-over-column column-over-row overlap-join
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
syn keyword cssFontProp contained image-animation
|
||||||
|
syn keyword cssFontAttr contained stopped
|
||||||
|
syn keyword cssPseudoClassId contained animated-image
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
syn keyword cssFontProp contained link-parameters
|
||||||
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<param\s*(" end=")" oneline keepend
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
syn keyword cssFontProp contained line-height-step block-step block-step-size block-step-insert block-step-align block-step-round
|
syn keyword cssFontProp contained block-step-size block-step-insert block-step-align block-step-round block-step line-height-step
|
||||||
syn keyword cssFontAttr contained margin up down nearest
|
syn keyword cssFontAttr contained up down nearest
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
syn match cssSelectorOp "[||]"
|
||||||
|
syn match cssSelectorOp "/[a-z:]\+/"
|
||||||
|
syn keyword cssPseudoClassId contained defined local-link interest-source interest-target blank current past future heading
|
||||||
|
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(state\|headings\|nth-col\|nth-last-col\)(" end=")" oneline
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
syn keyword cssFontProp contained white-space-collapse white-space-trim text-space-trim text-wrap text-autospace text-spacing-trim text-spacing text-group-align wrap-before wrap-after wrap-inside hyphenate-character hyphenate-limit-zone hyphenate-limit-chars hyphenate-limit-lines hyphenate-limit-last line-padding word-boundary-detection word-space-transform
|
syn keyword cssFontProp contained white-space-collapse white-space-trim text-space-trim text-wrap text-autospace text-spacing-trim text-spacing text-group-align wrap-before wrap-after wrap-inside hyphenate-character hyphenate-limit-zone hyphenate-limit-chars hyphenate-limit-lines hyphenate-limit-last line-padding word-boundary-detection word-space-transform
|
||||||
syn keyword cssFontAttr contained math-auto spread punctuation preserve-breaks preserve-spaces discard-inner discard-before discard-after pretty avoid-line avoid-flex pre-wrap-auto no-limit space-all trim-both space-first trim-all no-compress ideograph-alpha ideograph-numeric ideographic-space
|
syn keyword cssFontAttr contained math-auto spread punctuation preserve-breaks preserve-spaces discard-inner discard-before discard-after pretty avoid-line avoid-flex pre-wrap-auto no-limit space-all trim-both space-first trim-all no-compress ideograph-alpha ideograph-numeric ideographic-space avoid-orphans
|
||||||
|
|||||||
+49
-13
@@ -2,7 +2,6 @@
|
|||||||
place-self: auto;
|
place-self: auto;
|
||||||
place-content: auto;
|
place-content: auto;
|
||||||
place-items: auto;
|
place-items: auto;
|
||||||
row-gap: auto;
|
|
||||||
display: safe;
|
display: safe;
|
||||||
display: unsafe;
|
display: unsafe;
|
||||||
display: self-start;
|
display: self-start;
|
||||||
@@ -245,6 +244,10 @@
|
|||||||
display: standard;
|
display: standard;
|
||||||
display: constrained-high;
|
display: constrained-high;
|
||||||
display: dynamic-range-limit-mix(standard 10%, constrained-high 40%, high 50%);
|
display: dynamic-range-limit-mix(standard 10%, constrained-high 40%, high 50%);
|
||||||
|
display: hdr-color(
|
||||||
|
color(rec2100-linear 0.9 1.0 0.8) 0,
|
||||||
|
color(rec2100-linear 1.8 2.0 1.5) 2
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
.compositing-1 {
|
.compositing-1 {
|
||||||
@@ -539,6 +542,7 @@
|
|||||||
font-palette: auto;
|
font-palette: auto;
|
||||||
font-variant-emoji: auto;
|
font-variant-emoji: auto;
|
||||||
font-presentation: auto;
|
font-presentation: auto;
|
||||||
|
display: oblique-only;
|
||||||
display: system-ui;
|
display: system-ui;
|
||||||
display: emoji;
|
display: emoji;
|
||||||
display: math;
|
display: math;
|
||||||
@@ -603,25 +607,30 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.gaps-1 {
|
.gaps-1 {
|
||||||
|
row-gap: auto;
|
||||||
column-rule-break: auto;
|
column-rule-break: auto;
|
||||||
row-rule-break: auto;
|
row-rule-break: auto;
|
||||||
rule-break: auto;
|
rule-break: auto;
|
||||||
column-rule-outset: auto;
|
column-rule-edge-inset-end: auto;
|
||||||
row-rule-outset: auto;
|
column-rule-interior-inset-start: auto;
|
||||||
rule-outset: auto;
|
column-rule-interior-inset-end: auto;
|
||||||
rule-paint-order: auto;
|
row-rule-edge-inset-start: auto;
|
||||||
|
row-rule-edge-inset-end: auto;
|
||||||
|
row-rule-interior-inset-start: auto;
|
||||||
|
row-rule-interior-inset-end: auto;
|
||||||
|
rule-overlap: auto;
|
||||||
row-rule-color: auto;
|
row-rule-color: auto;
|
||||||
row-rule-style: auto;
|
|
||||||
row-rule-width: auto;
|
|
||||||
row-rule: auto;
|
|
||||||
rule-color: auto;
|
rule-color: auto;
|
||||||
|
row-rule-style: auto;
|
||||||
rule-style: auto;
|
rule-style: auto;
|
||||||
|
row-rule-width: auto;
|
||||||
rule-width: auto;
|
rule-width: auto;
|
||||||
|
row-rule: auto;
|
||||||
rule: auto;
|
rule: auto;
|
||||||
display: spanning-item;
|
|
||||||
display: intersection;
|
display: intersection;
|
||||||
display: row-over-column;
|
display: row-over-column;
|
||||||
display: column-over-row;
|
display: column-over-row;
|
||||||
|
display: overlap-join;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gcpm-3::footnote-call,
|
.gcpm-3::footnote-call,
|
||||||
@@ -675,6 +684,11 @@ template {
|
|||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.image-animation-1:animated-image {
|
||||||
|
image-animation: auto;
|
||||||
|
display: stopped;
|
||||||
|
}
|
||||||
|
|
||||||
.images-3 {
|
.images-3 {
|
||||||
image-orientation: auto;
|
image-orientation: auto;
|
||||||
display: snap;
|
display: snap;
|
||||||
@@ -733,6 +747,11 @@ template {
|
|||||||
display: last-baseline;
|
display: last-baseline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.link-params-1 {
|
||||||
|
link-parameters: auto;
|
||||||
|
display: param(--color, green);
|
||||||
|
}
|
||||||
|
|
||||||
.lists-3::marker {
|
.lists-3::marker {
|
||||||
marker-side: auto;
|
marker-side: auto;
|
||||||
counter-set: auto;
|
counter-set: auto;
|
||||||
@@ -983,16 +1002,15 @@ mask {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.rhythm-1 {
|
.rhythm-1 {
|
||||||
line-height-step: auto;
|
|
||||||
block-step-size: auto;
|
block-step-size: auto;
|
||||||
block-step-insert: auto;
|
block-step-insert: auto;
|
||||||
block-step-align: auto;
|
block-step-align: auto;
|
||||||
display: margin;
|
block-step-round: auto;
|
||||||
|
block-step: auto;
|
||||||
|
line-height-step: auto;
|
||||||
display: up;
|
display: up;
|
||||||
display: down;
|
display: down;
|
||||||
display: nearest;
|
display: nearest;
|
||||||
block-step-round: auto;
|
|
||||||
block-step: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (device-radius: 50%) {
|
@media (device-radius: 50%) {
|
||||||
@@ -1149,6 +1167,23 @@ mask {
|
|||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.selectors-5:local-link,
|
||||||
|
.selectors-5:interest-source,
|
||||||
|
.selectors-5:interest-target,
|
||||||
|
.selectors-5:blank,
|
||||||
|
.selectors-5:current,
|
||||||
|
.selectors-5:past,
|
||||||
|
.selectors-5:future,
|
||||||
|
.selectors-5:state(loading),
|
||||||
|
.selectors-5:heading,
|
||||||
|
.selectors-5:headings(1, 3, 5),
|
||||||
|
.selectors-5 || .foo,
|
||||||
|
.selectors-5:nth-col(1),
|
||||||
|
.selectors-5:nth-last-col(1),
|
||||||
|
.selectors-5 /for/ .foo {
|
||||||
|
display: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.shadow-parts::part(textspan) {
|
.shadow-parts::part(textspan) {
|
||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
@@ -1375,6 +1410,7 @@ view {
|
|||||||
display: ideograph-numeric;
|
display: ideograph-numeric;
|
||||||
display: punctuation;
|
display: punctuation;
|
||||||
display: ideographic-space;
|
display: ideographic-space;
|
||||||
|
display: avoid-orphans;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-decor-3 {
|
.text-decor-3 {
|
||||||
|
|||||||
Reference in New Issue
Block a user