mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 11:14:25 +08:00
Compare commits
64 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
213ac91578 | ||
|
|
bbfd67f785 | ||
|
|
0e25532d8a | ||
|
|
e74a5c6940 | ||
|
|
47f59169c0 | ||
|
|
cdbc9512db | ||
|
|
cb426f77cf | ||
|
|
4cabff16d6 | ||
|
|
18d867b3b1 | ||
|
|
0b4b3219e1 | ||
|
|
be159483e9 | ||
|
|
fcb88f2110 | ||
|
|
1baaddd039 | ||
|
|
c1dc0b4c7c | ||
|
|
6ea52b468a | ||
|
|
5a004b69ad | ||
|
|
750667a312 | ||
|
|
ab5722664a | ||
|
|
7099472463 | ||
|
|
331f244564 | ||
|
|
0e7167b160 | ||
|
|
96ae247194 | ||
|
|
a8545763fe | ||
|
|
ac0823e31b | ||
|
|
5a816e9569 | ||
|
|
11234a106c | ||
|
|
1043cc17af | ||
|
|
6a5285ba3c | ||
|
|
7ca800647c | ||
|
|
790e68661f | ||
|
|
b3c992b4f5 | ||
|
|
75fb895763 | ||
|
|
7a6a010fd8 | ||
|
|
f467f96911 | ||
|
|
f0d6e95e7e | ||
|
|
0d27605a19 | ||
|
|
f13a51f51d | ||
|
|
a5cacf8839 | ||
|
|
d0e4091e57 | ||
|
|
a1b7e3e0f4 | ||
|
|
d9ec9eeeec | ||
|
|
84b98663ec | ||
|
|
3018a7e3ae | ||
|
|
5deaa67782 | ||
|
|
c39cc87a12 | ||
|
|
7ccfd713c1 | ||
|
|
283c8447cd | ||
|
|
11c2d059f0 | ||
|
|
4c478d0373 | ||
|
|
e5e2662f56 | ||
|
|
4f0f6717cf | ||
|
|
5e9d081260 | ||
|
|
77a3fb8386 | ||
|
|
2c75d94fc8 | ||
|
|
a916d1e5d2 | ||
|
|
6e2f05fb29 | ||
|
|
6a677287df | ||
|
|
2714472120 | ||
|
|
ab4ce39f68 | ||
|
|
de8b85301d | ||
|
|
0c33e55d36 | ||
|
|
2a59a029d1 | ||
|
|
036ac88f82 | ||
|
|
7e863a82ba |
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
@@ -1 +1 @@
|
|||||||
github: hail2u
|
github: [hail2u]
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ CSS3 syntax (and syntax defined in some foreign specifications) support for
|
|||||||
INSTALLATION
|
INSTALLATION
|
||||||
------------
|
------------
|
||||||
|
|
||||||
I **strongly** recommend to install this plugin on *Vim 8.1 or higher with
|
I **strongly** recommend to install this plugin on *Vim 8.2 or higher with
|
||||||
default runtime files*.
|
default runtime files*.
|
||||||
|
|
||||||
|
|
||||||
@@ -83,13 +83,13 @@ want to highlight Media Queries correctly, you must update Vim to 8.0+.
|
|||||||
AUTHOR
|
AUTHOR
|
||||||
------
|
------
|
||||||
|
|
||||||
Kyo Nagashima <hail2u@gmail.com> (https://kyonagashima.com/)
|
Kyo Nagashima <hail2u@gmail.com> (https://hail2u.net/)
|
||||||
|
|
||||||
|
|
||||||
LICENSE
|
LICENSE
|
||||||
-------
|
-------
|
||||||
|
|
||||||
MIT License
|
MIT
|
||||||
|
|
||||||
|
|
||||||
[1]: http://www.vim.org/
|
[1]: http://www.vim.org/
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
syn match cssBoxProp contained "\<margin-trim\>"
|
|
||||||
syn match cssBoxAttr contained "\<in-flow\>"
|
|
||||||
" These will be moved to block-3
|
|
||||||
syn match cssBoxProp contained "\<clear-after\>"
|
|
||||||
syn match cssBoxProp contained "\<float-displace\>"
|
|
||||||
syn match cssBoxProp contained "\<indent-edge-reset\>"
|
|
||||||
syn keyword cssBoxAttr contained scrollbar panner marquee decendants
|
|
||||||
syn match cssBoxAttr contained "\<block-within-page\>"
|
|
||||||
syn match cssBoxAttr contained "\<\(margin\|border\|padding\|content\)-edge\>"
|
|
||||||
|
|||||||
2
after/syntax/css/box-4.vim
Normal file
2
after/syntax/css/box-4.vim
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
syn match cssBoxProp contained "\<margin-trim\>"
|
||||||
|
syn match cssBoxAttr contained "\<in-flow\>"
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
syn keyword cssFontAttr contained perceptual
|
syn keyword cssFontAttr contained perceptual
|
||||||
syn match cssFontAttr contained "\<\(relative\|absolute\)-colorimetric\>"
|
syn match cssFontAttr contained "\<\(relative\|absolute\)-colorimetric\>"
|
||||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|gray\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend
|
||||||
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
syn match cssColorProp contained "\<\(forced-\)\=color-adjust\>"
|
syn match cssColorProp contained "\<\(forced-\)\=color-adjust\>"
|
||||||
syn match cssColorProp contained "\<color-scheme\>"
|
syn match cssColorProp contained "\<color-scheme\>"
|
||||||
syn keyword cssFontAttr contained only economy exact
|
syn keyword cssFontAttr contained economy exact
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
syn match cssFontProp contained "\<content-visibility\>"
|
||||||
|
|||||||
@@ -1,16 +1,19 @@
|
|||||||
|
syn match cssFontProp contained "\<font-synthesis\(-\(weight\|style\|small-caps\|settings\)\)\=\>"
|
||||||
|
syn match cssFontProp contained "\<font-named-instance\>"
|
||||||
syn match cssFontProp contained "\<font-display\>"
|
syn match cssFontProp contained "\<font-display\>"
|
||||||
|
syn match cssFontProp contained "\<\(ascent\|descent\|line-gap\)-override\>"
|
||||||
syn match cssFontProp contained "\<font-optical-sizing\>"
|
syn match cssFontProp contained "\<font-optical-sizing\>"
|
||||||
syn match cssFontProp contained "\<font-variation-settings\>"
|
syn match cssFontProp contained "\<font-variation-settings\>"
|
||||||
syn match cssFontProp contained "\<font-palette\>"
|
syn match cssFontProp contained "\<font-palette\>"
|
||||||
|
syn match cssFontProp contained "\<font-variant-emoji\>"
|
||||||
syn match cssFontProp contained "\<font-presentation\>"
|
syn match cssFontProp contained "\<font-presentation\>"
|
||||||
syn match cssFontProp contained "\<base-palette\>"
|
syn match cssFontProp contained "\<base-palette\>"
|
||||||
syn match cssFontProp contained "\<override-color\>"
|
syn match cssFontProp contained "\<override-color\>"
|
||||||
syn match cssFontProp contained "\<font-variant-emoji\>"
|
syn keyword cssFontAttr contained emoji math fangsong swap fallback light dark
|
||||||
syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark
|
|
||||||
syn match cssFontAttr contained "\<system-ui\>"
|
syn match cssFontAttr contained "\<system-ui\>"
|
||||||
syn match cssFontAttr contained "\<ui-\(\(sans-\)\=serif\|monospace\|rounded\)\>"
|
syn match cssFontAttr contained "\<ui-\(\(sans-\)\=serif\|monospace\|rounded\)\>"
|
||||||
syn match cssFontAttr contained "\<historical-forms\>"
|
|
||||||
syn match cssFontAttr contained "\<xxx-large\>"
|
syn match cssFontAttr contained "\<xxx-large\>"
|
||||||
|
syn match cssFontAttr 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
after/syntax/css/highlight-api-1.vim
Normal file
1
after/syntax/css/highlight-api-1.vim
Normal file
@@ -0,0 +1 @@
|
|||||||
|
syn region cssPseudoClassFn contained matchgroup=cssFunctionName start="\<highlight(" end=")" contains=cssStringQ,cssStringQQ
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
syn match cssFontProp contained "\<object-\(fit\|position\)\>"
|
syn match cssFontProp contained "\<object-\(fit\|position\)\>"
|
||||||
syn match cssFontProp contained "\<image-orientation\>"
|
syn match cssFontProp contained "\<image-orientation\>"
|
||||||
syn keyword cssFontAttr contained snap flip
|
syn keyword cssFontAttr contained snap flip pixelated
|
||||||
syn match cssFontAttr contained "\<scale-down\>"
|
syn match cssFontAttr contained "\<scale-down\>"
|
||||||
syn match cssFontAttr contained "\<from-image\>"
|
syn match cssFontAttr contained "\<from-image\>"
|
||||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(repeating-\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(repeating-\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
syn match cssFontProp contained "\<\(dominant\|alignment\)-baseline\>"
|
syn match cssFontProp contained "\<\(dominant\|alignment\)-baseline\>"
|
||||||
syn match cssFontProp contained "\<baseline-shift\>"
|
syn match cssFontProp contained "\<baseline-\(shift\|source\)\>"
|
||||||
|
syn match cssFontProp contained "\<text-edge\>"
|
||||||
|
syn match cssFontProp contained "\<leading-trim\>"
|
||||||
syn match cssFontProp contained "\<inline-sizing\>"
|
syn match cssFontProp contained "\<inline-sizing\>"
|
||||||
syn match cssFontProp contained "\<initial-letters\(-\(align\|wrap\)\)\="
|
syn match cssFontProp contained "\<initial-letter\(-\(align\|wrap\)\)\=\>"
|
||||||
syn keyword cssFontAttr contained mathematical ideographic
|
syn keyword cssFontAttr contained central mathematical leading cap ex drop raise
|
||||||
|
syn match cssFontAttr contained "\<ideographic\(-ink\)\=\>"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
syn match cssFontProp contained "\<\(\(min\|max\)-\)\=\(block\|inline\)-size\>"
|
syn match cssFontProp contained "\<\(\(min\|max\)-\)\=\(block\|inline\)-size\>"
|
||||||
syn match cssFontProp contained "\<\(margin\|inset\|padding\)\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>"
|
syn match cssFontProp contained "\<\(margin\|padding\)\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>"
|
||||||
syn match cssFontProp contained "\<border-\(block\|inline\)\(\(-\(start\|end\)\)\=\(-\(width\|style\|color\)\)\=\)\=\>"
|
syn match cssFontProp contained "\<border-\(block\|inline\)\(\(-\(start\|end\)\)\=\(-\(width\|style\|color\)\)\=\)\=\>"
|
||||||
syn match cssFontProp contained "\<border-\(start\|end\)-\(start\|end\)-radius\>"
|
syn match cssFontProp contained "\<border-\(start\|end\)-\(start\|end\)-radius\>"
|
||||||
syn keyword cssFontAttr contained logical physical rotate
|
syn keyword cssFontAttr contained logical physical rotate
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
syn keyword cssFontProp contained continue
|
syn keyword cssFontProp contained continue
|
||||||
syn match cssFontProp contained "\<block-overflow\>"
|
syn match cssFontProp contained "\<overflow-\(clip-margin\|block\|inline\)\>"
|
||||||
|
syn match cssFontProp contained "\<block-ellipsis\>"
|
||||||
syn match cssFontProp contained "\<line-clamp\>"
|
syn match cssFontProp contained "\<line-clamp\>"
|
||||||
syn match cssFontProp contained "\<max-lines\>"
|
syn match cssFontProp contained "\<max-lines\>"
|
||||||
syn match cssFontProp contained "\<overflow-\(block\|inline\)\>"
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
syn match cssFontProp contained "\<offset-\(before\|end\|after\|start\)\>"
|
syn match cssFontProp contained "\<inset\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>"
|
||||||
syn keyword cssFontAttr contained sticky
|
syn keyword cssFontAttr contained sticky
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
syn match cssPseudoClassId contained "\<inactive-selection\>"
|
syn match cssPseudoClassId contained "\<target-text\>"
|
||||||
syn match cssPseudoClassId contained "\<\(spelling\|grammer\)-error\>"
|
syn match cssPseudoClassId contained "\<\(spelling\|grammer\)-error\>"
|
||||||
|
syn match cssPseudoClassId contained "\<file-selectors-button\>"
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
" TODO: create cssRubyProp group and cssRubyAttr group
|
syn match cssFontProp contained "\<ruby-\(position\|merge\|align\|overhang\)"
|
||||||
syn match cssFontProp contained "\<ruby-\(position\|merge\|align\)"
|
|
||||||
syn match cssFontAttr contained "\<ruby-\(base\|text\)-container\>"
|
syn match cssFontAttr contained "\<ruby-\(base\|text\)-container\>"
|
||||||
syn match cssFontAttr contained "\<inter-character\>"
|
syn match cssFontAttr contained "\<inter-character\>"
|
||||||
|
|||||||
2
after/syntax/css/sizing-4.vim
Normal file
2
after/syntax/css/sizing-4.vim
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
syn match cssFontProp contained "\<contain-intrinsic-size\>"
|
||||||
|
syn match cssFontAttr contained "\<\fit-content\>"
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
syn match cssTextProp contained "\<text-\(decoration-\(width\|skip\|skip-ink\)\|underline-offset\|emphasis-skip\)\>"
|
syn match cssTextProp contained "\<text-\(decoration-\(thickness\|skip\|skip-ink\)\|underline-offset\|emphasis-skip\)\>"
|
||||||
syn keyword cssTextAttr contained objects edges symbols narrow
|
syn keyword cssTextAttr contained objects edges symbols narrow
|
||||||
syn match cssTextAttr contained "\<box-decoration\>"
|
syn match cssTextAttr contained "\<\(spelling\|grammer\)-error\>"
|
||||||
|
syn match cssTextAttr contained "\<from-font\>"
|
||||||
syn match cssTextAttr contained "\<\(\(leading\|trailing\)-\)\=spaces\>"
|
syn match cssTextAttr contained "\<\(\(leading\|trailing\)-\)\=spaces\>"
|
||||||
|
syn match cssTextAttr contained "\<box-decoration\>"
|
||||||
|
|||||||
2
after/syntax/css/unofficials.vim
Normal file
2
after/syntax/css/unofficials.vim
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
syn match cssFontProp contained "\<backdrop-filter\>"
|
||||||
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<env\s*(" end=")" oneline keepend
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(vi\|vb\|ic\|cap\|lh\|rlh\)"
|
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(vi\|vb\|ic\|cap\|lh\|rlh\)"
|
||||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(min\|max\|clamp\|toggle\)\s*(" end=")" oneline keepend
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(min\|max\|clamp\|toggle\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend
|
||||||
|
|||||||
152
test/test.css
152
test/test.css
@@ -43,22 +43,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.box-3 {
|
.box-3 {
|
||||||
|
display: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.box-4 {
|
||||||
margin-trim: auto;
|
margin-trim: auto;
|
||||||
display: in-flow;
|
display: in-flow;
|
||||||
/* .block-3 */
|
|
||||||
clear-after: auto;
|
|
||||||
float-displace: auto;
|
|
||||||
indent-edge-reset: auto;
|
|
||||||
display: scrollbar;
|
|
||||||
display: panner;
|
|
||||||
display: marquee;
|
|
||||||
display: discard;
|
|
||||||
display: decendants;
|
|
||||||
display: block-within-page;
|
|
||||||
display: margin-edge;
|
|
||||||
display: border-edge;
|
|
||||||
display: padding-edge;
|
|
||||||
display: content-edge;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.break-3 {
|
.break-3 {
|
||||||
@@ -93,7 +83,6 @@
|
|||||||
display: hwb(120deg, 44%, 50%);
|
display: hwb(120deg, 44%, 50%);
|
||||||
display: lab(1 2 3);
|
display: lab(1 2 3);
|
||||||
display: lch(4 5 6);
|
display: lch(4 5 6);
|
||||||
display: gray(50%);
|
|
||||||
display: color(swopc, 0 206 190 77);
|
display: color(swopc, 0 206 190 77);
|
||||||
display: device-cmyk(0, 81%, 81%, 30%);
|
display: device-cmyk(0, 81%, 81%, 30%);
|
||||||
display: relative-colorimetric;
|
display: relative-colorimetric;
|
||||||
@@ -115,7 +104,7 @@
|
|||||||
color-scheme: auto;
|
color-scheme: auto;
|
||||||
forced-color-adjust: auto;
|
forced-color-adjust: auto;
|
||||||
color-adjust: auto;
|
color-adjust: auto;
|
||||||
display: only;
|
display: light;
|
||||||
display: economy;
|
display: economy;
|
||||||
display: exact;
|
display: exact;
|
||||||
}
|
}
|
||||||
@@ -157,7 +146,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.contain-2 {
|
.contain-2 {
|
||||||
display: auto;
|
content-visibility: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-3 {
|
.content-3 {
|
||||||
@@ -365,34 +354,47 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.fonts-4 {
|
.fonts-4 {
|
||||||
|
font-synthesis-weight: auto;
|
||||||
|
font-synthesis-style: auto;
|
||||||
|
font-synthesis-small-caps: auto;
|
||||||
|
font-variation-settings: auto;
|
||||||
|
font-named-instance: auto;
|
||||||
font-display: auto;
|
font-display: auto;
|
||||||
|
ascent-override: auto;
|
||||||
|
descent-override: auto;
|
||||||
|
line-gap-override: auto;
|
||||||
font-optical-sizing: auto;
|
font-optical-sizing: auto;
|
||||||
font-variation-settings: auto;
|
font-variation-settings: auto;
|
||||||
font-palette: auto;
|
font-palette: auto;
|
||||||
font-presentation: auto;
|
|
||||||
font-variant-emoji: auto;
|
font-variant-emoji: auto;
|
||||||
|
font-presentation: auto;
|
||||||
display: system-ui;
|
display: system-ui;
|
||||||
display: emoji;
|
display: emoji;
|
||||||
display: math;
|
display: math;
|
||||||
display: fangsong;
|
display: fangsong;
|
||||||
display: infinity;
|
|
||||||
display: stylistic(feature-value-name);
|
|
||||||
display: historical-forms;
|
|
||||||
display: styleset(feature-value-name #);
|
|
||||||
display: character-variant(feature-vlue-name #);
|
|
||||||
display: swash(feature-value-name);
|
|
||||||
display: ornaments(feature-value-name);
|
|
||||||
display: annotation(feature-value-name);
|
|
||||||
display: swap;
|
|
||||||
display: fallback;
|
|
||||||
display: optional;
|
|
||||||
display: light;
|
|
||||||
display: dark;
|
|
||||||
display: ui-serif;
|
display: ui-serif;
|
||||||
display: ui-sans-serif;
|
display: ui-sans-serif;
|
||||||
display: ui-monospace;
|
display: ui-monospace;
|
||||||
display: ui-rounded;
|
display: ui-rounded;
|
||||||
display: xxx-large;
|
display: xxx-large;
|
||||||
|
display: swap;
|
||||||
|
display: fallback;
|
||||||
|
display: historical-forms;
|
||||||
|
display: stylistic(feature-value-name);
|
||||||
|
display: styleset(feature-value-name #);
|
||||||
|
display: character-variant(feature-vlue-name #);
|
||||||
|
display: swash(feature-value-name);
|
||||||
|
display: ornaments(feature-value-name);
|
||||||
|
display: annotation(feature-value-name);
|
||||||
|
display: light;
|
||||||
|
display: dark;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-feature-values Test {
|
||||||
|
@swash {
|
||||||
|
swishy: 1;
|
||||||
|
flowing: 2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-palette-values Test {
|
@font-palette-values Test {
|
||||||
@@ -406,7 +408,7 @@
|
|||||||
footnote-display: auto;
|
footnote-display: auto;
|
||||||
footnote-policy: auto;
|
footnote-policy: auto;
|
||||||
display: footnote;
|
display: footnote;
|
||||||
display: line;
|
display: line;
|
||||||
display: element(header);
|
display: element(header);
|
||||||
display: running(heading);
|
display: running(heading);
|
||||||
}
|
}
|
||||||
@@ -427,6 +429,10 @@
|
|||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.highlight-api-1::highlight(test) {
|
||||||
|
display: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.html5,
|
.html5,
|
||||||
picture,
|
picture,
|
||||||
rb,
|
rb,
|
||||||
@@ -444,6 +450,7 @@ template {
|
|||||||
display: flip;
|
display: flip;
|
||||||
display: scale-down;
|
display: scale-down;
|
||||||
display: from-image;
|
display: from-image;
|
||||||
|
display: pixelated;
|
||||||
display: repeating-linear-gradient(to bottom, yellow, blue);
|
display: repeating-linear-gradient(to bottom, yellow, blue);
|
||||||
display: repeating-radial-gradient(farthest-corner at 50% 50%, yellow, green);
|
display: repeating-radial-gradient(farthest-corner at 50% 50%, yellow, green);
|
||||||
}
|
}
|
||||||
@@ -458,13 +465,23 @@ template {
|
|||||||
.inline-3 {
|
.inline-3 {
|
||||||
dominant-baseline: auto;
|
dominant-baseline: auto;
|
||||||
alignment-baseline: auto;
|
alignment-baseline: auto;
|
||||||
|
baseline-source: auto;
|
||||||
baseline-shift: auto;
|
baseline-shift: auto;
|
||||||
|
text-edge: auto;
|
||||||
|
leading-trim: auto;
|
||||||
inline-sizing: auto;
|
inline-sizing: auto;
|
||||||
initial-letters: auto;
|
initial-letter: auto;
|
||||||
initial-letters-align: auto;
|
initial-letter-align: auto;
|
||||||
initial-letters-wrap: auto;
|
initial-letter-wrap: auto;
|
||||||
display: mathematical;
|
display: mathematical;
|
||||||
|
display: central;
|
||||||
display: ideographic;
|
display: ideographic;
|
||||||
|
display: leading;
|
||||||
|
display: cap;
|
||||||
|
display: ex;
|
||||||
|
display: ideographic-ink;
|
||||||
|
display: drop;
|
||||||
|
display: raise;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout-api-1 {
|
.layout-api-1 {
|
||||||
@@ -503,13 +520,6 @@ template {
|
|||||||
margin-inline-end: auto;
|
margin-inline-end: auto;
|
||||||
margin-block: auto;
|
margin-block: auto;
|
||||||
margin-inline: auto;
|
margin-inline: auto;
|
||||||
inset-block-start: auto;
|
|
||||||
inset-block-end: auto;
|
|
||||||
inset-inline-start: auto;
|
|
||||||
inset-inline-end: auto;
|
|
||||||
inset-block: auto;
|
|
||||||
inset-inline: auto;
|
|
||||||
inset: auto;
|
|
||||||
padding-block-start: auto;
|
padding-block-start: auto;
|
||||||
padding-block-end: auto;
|
padding-block-end: auto;
|
||||||
padding-inline-start: auto;
|
padding-inline-start: auto;
|
||||||
@@ -611,12 +621,13 @@ mask {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.overflow-3 {
|
.overflow-3 {
|
||||||
max-lines: auto;
|
overflow-clip-margin: auto;
|
||||||
block-overflow: auto;
|
|
||||||
line-clamp: auto;
|
|
||||||
continue: auto;
|
|
||||||
overflow-block: auto;
|
overflow-block: auto;
|
||||||
overflow-inline: auto;
|
overflow-inline: auto;
|
||||||
|
block-ellipsis: auto;
|
||||||
|
line-clamp: auto;
|
||||||
|
max-lines: auto;
|
||||||
|
continue: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.overflow-4::nth-fragment(1) {
|
.overflow-4::nth-fragment(1) {
|
||||||
@@ -665,10 +676,13 @@ mask {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.position-3 {
|
.position-3 {
|
||||||
offset-before: auto;
|
inset-block-start: auto;
|
||||||
offset-end: auto;
|
inset-block-end: auto;
|
||||||
offset-after: auto;
|
inset-inline-start: auto;
|
||||||
offset-start: auto;
|
inset-inline-end: auto;
|
||||||
|
inset-block: auto;
|
||||||
|
inset-inline: auto;
|
||||||
|
inset: auto;
|
||||||
display: sticky;
|
display: sticky;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -678,9 +692,10 @@ mask {
|
|||||||
initial-value: auto;
|
initial-value: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pseudo-4::inactive-selection,
|
.pseudo-4::target-text,
|
||||||
.pseudo-4::spelling-error,
|
.pseudo-4::spelling-error,
|
||||||
.pseudo-4::grammer-error {
|
.pseudo-4::grammer-error,
|
||||||
|
.pseudi-4::file-selectors-button {
|
||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -729,6 +744,7 @@ mask {
|
|||||||
ruby-position: auto;
|
ruby-position: auto;
|
||||||
ruby-merge: auto;
|
ruby-merge: auto;
|
||||||
ruby-align: auto;
|
ruby-align: auto;
|
||||||
|
ruby-overhang: auto;
|
||||||
display: ruby-base-container;
|
display: ruby-base-container;
|
||||||
display: ruby-text-container;
|
display: ruby-text-container;
|
||||||
display: inter-character;
|
display: inter-character;
|
||||||
@@ -860,6 +876,11 @@ mask {
|
|||||||
display: fit-content(10%);
|
display: fit-content(10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sizing-4 {
|
||||||
|
contain-intrinsic-size: auto;
|
||||||
|
display: fit-content;
|
||||||
|
}
|
||||||
|
|
||||||
.speech-1 {
|
.speech-1 {
|
||||||
voice-volume: auto;
|
voice-volume: auto;
|
||||||
voice-balance: auto;
|
voice-balance: auto;
|
||||||
@@ -1076,12 +1097,15 @@ view {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.text-decor-4 {
|
.text-decor-4 {
|
||||||
text-decoration-width: auto;
|
text-decoration-thickness: auto;
|
||||||
text-underline-offset: auto;
|
text-underline-offset: auto;
|
||||||
text-decoration-skip: auto;
|
text-decoration-skip: auto;
|
||||||
text-decoration-skip-ink: auto;
|
text-decoration-skip-ink: auto;
|
||||||
text-emphasis-skip: auto;
|
text-emphasis-skip: auto;
|
||||||
|
display: spelling-error;
|
||||||
|
display: grammer-error;
|
||||||
display: objects;
|
display: objects;
|
||||||
|
display: from-font;
|
||||||
display: spaces;
|
display: spaces;
|
||||||
display: leading-spaces;
|
display: leading-spaces;
|
||||||
display: trailing-spaces;
|
display: trailing-spaces;
|
||||||
@@ -1128,6 +1152,11 @@ view {
|
|||||||
display: underscore;
|
display: underscore;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.unofficials {
|
||||||
|
backdrop-filter: auto;
|
||||||
|
display: env(safe-area-inset-top, 20px);
|
||||||
|
}
|
||||||
|
|
||||||
.values-3 {
|
.values-3 {
|
||||||
display: 1ch;
|
display: 1ch;
|
||||||
display: 1q;
|
display: 1q;
|
||||||
@@ -1145,6 +1174,23 @@ view {
|
|||||||
display: max(0, 1);
|
display: max(0, 1);
|
||||||
display: clamp(0, 100, 2);
|
display: clamp(0, 100, 2);
|
||||||
display: toggle(italic, normal);
|
display: toggle(italic, normal);
|
||||||
|
display: round(var(--width), 50px);
|
||||||
|
display: mod(-18px, 5px);
|
||||||
|
display: rem(-18px, 5px);
|
||||||
|
display: sin(45deg);
|
||||||
|
display: cos(1);
|
||||||
|
display: tan(1);
|
||||||
|
display: asin(45deg);
|
||||||
|
display: acos(1);
|
||||||
|
display: atan(1);
|
||||||
|
display: atan2(1, -1);
|
||||||
|
display: pow(1.5, -1);
|
||||||
|
display: sqrt(4);
|
||||||
|
display: hypot(30px, 40px);
|
||||||
|
display: log(10);
|
||||||
|
display: exp(1);
|
||||||
|
display: abs(-1);
|
||||||
|
display: sign(-4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.variables-1 {
|
.variables-1 {
|
||||||
|
|||||||
Reference in New Issue
Block a user