mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 18:54:25 +08:00
Compare commits
127 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d98523278 | ||
|
|
b8c1fa4623 | ||
|
|
05b11eb4a0 | ||
|
|
b9921e5062 | ||
|
|
90c47814cb | ||
|
|
b3e6a86d9d | ||
|
|
9d7741a59f | ||
|
|
479dc522a7 | ||
|
|
052c7459d0 | ||
|
|
ea7a9a2325 | ||
|
|
52a53e3fe6 | ||
|
|
8c32514b04 | ||
|
|
308b231f79 | ||
|
|
3d1487297d | ||
|
|
a9eba379a1 | ||
|
|
efdac10d73 | ||
|
|
c19f58b453 | ||
|
|
9de844a6a8 | ||
|
|
13469ac58b | ||
|
|
851fad4f69 | ||
|
|
1f1f2b252a | ||
|
|
565790d45d | ||
|
|
46bb23a763 | ||
|
|
be917f98bb | ||
|
|
3992f2254a | ||
|
|
53c2606574 | ||
|
|
b31ab2c3c7 | ||
|
|
5361a81b52 | ||
|
|
63136b80f0 | ||
|
|
9b0a104f17 | ||
|
|
f548cf1f61 | ||
|
|
4b04851c40 | ||
|
|
fc0b368942 | ||
|
|
ec0f9fde01 | ||
|
|
6ec93fe239 | ||
|
|
d23bfc5841 | ||
|
|
b693202398 | ||
|
|
71d2416832 | ||
|
|
058c8141e3 | ||
|
|
cfe5fae3b8 | ||
|
|
4bea539df0 | ||
|
|
c3793de3f5 | ||
|
|
6b36c31304 | ||
|
|
e9bba514fd | ||
|
|
4a3c90092d | ||
|
|
d1b62f70e7 | ||
|
|
64ad3eaec3 | ||
|
|
a2e644f632 | ||
|
|
7df74cc2e0 | ||
|
|
0a84e0bb38 | ||
|
|
82afdcdc63 | ||
|
|
7f1c068e64 | ||
|
|
6aa08ed7a8 | ||
|
|
444215b6fd | ||
|
|
246cc6e099 | ||
|
|
5540e02485 | ||
|
|
1a895dc088 | ||
|
|
841e4bb515 | ||
|
|
0ac0b4ca08 | ||
|
|
da60696e7b | ||
|
|
f3de982f44 | ||
|
|
6fab44a6c4 | ||
|
|
a72b347b75 | ||
|
|
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
|
||||
------------
|
||||
|
||||
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*.
|
||||
|
||||
|
||||
@@ -83,13 +83,13 @@ want to highlight Media Queries correctly, you must update Vim to 8.0+.
|
||||
AUTHOR
|
||||
------
|
||||
|
||||
Kyo Nagashima <hail2u@gmail.com> (https://kyonagashima.com/)
|
||||
Kyo Nagashima <hail2u@gmail.com> (https://hail2u.net/)
|
||||
|
||||
|
||||
LICENSE
|
||||
-------
|
||||
|
||||
MIT License
|
||||
MIT
|
||||
|
||||
|
||||
[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
after/syntax/css/cascade-5.vim
Normal file
1
after/syntax/css/cascade-5.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontAttr contained "\<revert-layer\>"
|
||||
@@ -1,4 +1,4 @@
|
||||
syn keyword cssFontAttr contained perceptual
|
||||
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
|
||||
|
||||
@@ -1 +1 @@
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(color-\(mix\|contrast\|adjust\)\|red\|green\|blue\|alpha\|hue\|saturation\|lightness\|whiteness\|blackness\|a\|b\|chroma\)\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<color-\(mix\|contrast\)\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline
|
||||
|
||||
3
after/syntax/css/color-adjust-1.vim
Normal file
3
after/syntax/css/color-adjust-1.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn match cssColorProp contained "\<\(forced-\|print-\)\=color-adjust\>"
|
||||
syn match cssColorProp contained "\<color-scheme\>"
|
||||
syn keyword cssFontAttr contained economy exact
|
||||
@@ -1,3 +0,0 @@
|
||||
syn match cssColorProp contained "\<\(forced-\)\=color-adjust\>"
|
||||
syn match cssColorProp contained "\<color-scheme\>"
|
||||
syn keyword cssFontAttr contained only economy exact
|
||||
1
after/syntax/css/conditional-5.vim
Normal file
1
after/syntax/css/conditional-5.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontDescriptor "@\(when\|else\)\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
@@ -0,0 +1 @@
|
||||
syn match cssFontProp contained "\<content-visibility\>"
|
||||
|
||||
0
after/syntax/css/contain-3.vim
Normal file
0
after/syntax/css/contain-3.vim
Normal file
@@ -1,2 +1,3 @@
|
||||
syn keyword cssFontAttr contained contents discard
|
||||
syn match cssBoxAttr contained "\<ruby\(-\(base\(-group\)\=\|text\(-group\)\=\)\)\=\>"
|
||||
syn match cssBoxAttr contained "\<run-in\>"
|
||||
syn match cssBoxAttr contained "\<ruby\(-\(base\|text\)\)\=\>"
|
||||
|
||||
@@ -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 "\<\(ascent\|descent\|line-gap\)-override\>"
|
||||
syn match cssFontProp contained "\<font-optical-sizing\>"
|
||||
syn match cssFontProp contained "\<font-variation-settings\>"
|
||||
syn match cssFontProp contained "\<font-palette\>"
|
||||
syn match cssFontProp contained "\<font-variant-emoji\>"
|
||||
syn match cssFontProp contained "\<font-presentation\>"
|
||||
syn match cssFontProp contained "\<base-palette\>"
|
||||
syn match cssFontProp contained "\<override-color\>"
|
||||
syn match cssFontProp contained "\<font-variant-emoji\>"
|
||||
syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark
|
||||
syn keyword cssFontAttr contained emoji math fangsong swap fallback light dark
|
||||
syn match cssFontAttr contained "\<system-ui\>"
|
||||
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 "\<historical-forms\>"
|
||||
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
|
||||
|
||||
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 "\<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 "\<from-image\>"
|
||||
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 "\<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 "\<initial-letters\(-\(align\|wrap\)\)\="
|
||||
syn keyword cssFontAttr contained mathematical ideographic
|
||||
syn match cssFontProp contained "\<initial-letter\(-\(align\|wrap\)\)\=\>"
|
||||
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 "\<\(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-\(start\|end\)-\(start\|end\)-radius\>"
|
||||
syn keyword cssFontAttr contained logical physical rotate
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
syn keyword cssFontProp contained continue
|
||||
syn match cssFontProp contained "\<block-overflow\>"
|
||||
syn match cssFontProp contained "\<overflow-\(clip-margin\|block\|inline\)\>"
|
||||
syn match cssFontProp contained "\<scrollbar-gutter\>"
|
||||
syn match cssFontProp contained "\<block-ellipsis\>"
|
||||
syn match cssFontProp contained "\<line-clamp\>"
|
||||
syn match cssFontProp contained "\<max-lines\>"
|
||||
syn match cssFontProp contained "\<overflow-\(block\|inline\)\>"
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
syn match cssFontProp contained "\<scrollbar-gutter\>"
|
||||
syn keyword cssFontAttr contained stable force overflow paginate fragments
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth-fragment\)(" end=")" oneline
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 "\<file-selectors-button\>"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
" TODO: create cssRubyProp group and cssRubyAttr group
|
||||
syn match cssFontProp contained "\<ruby-\(position\|merge\|align\)"
|
||||
syn match cssFontProp contained "\<ruby-\(position\|merge\|align\|overhang\)"
|
||||
syn keyword cssFontAttr contained merge
|
||||
syn match cssFontAttr contained "\<ruby-\(base\|text\)-container\>"
|
||||
syn match cssFontAttr contained "\<inter-character\>"
|
||||
|
||||
3
after/syntax/css/sizing-4.vim
Normal file
3
after/syntax/css/sizing-4.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn match cssFontProp contained "\<contain-intrinsic-size\>"
|
||||
syn match cssFontProp contained "\<min-intrinsic-sizing\>"
|
||||
syn match cssFontAttr contained "\<zero-if-\(scroll\|extrinsic\)\>"
|
||||
@@ -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 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 "\<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,3 @@
|
||||
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 match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(rex\|cap\|rcap\|rch\|ic\|ric\|lh\|rlh\)"
|
||||
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(s\|l\|d\)\=v\(h\|w\|i\|b\|min\|max\)"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(mix\|min\|max\|clamp\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend
|
||||
|
||||
242
test/test.css
242
test/test.css
@@ -43,22 +43,12 @@
|
||||
}
|
||||
|
||||
.box-3 {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.box-4 {
|
||||
margin-trim: auto;
|
||||
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 {
|
||||
@@ -75,14 +65,16 @@
|
||||
display: auto;
|
||||
}
|
||||
|
||||
@import "cascade-4.css" supports(display: auto);
|
||||
|
||||
.cascade-4 {
|
||||
display: revert;
|
||||
}
|
||||
|
||||
@import "conditional-3.css" supports(display: auto);
|
||||
@import "cascade-5.css" layer(framework component);
|
||||
|
||||
@supports (selector(.conditional-4)) {
|
||||
display: auto;
|
||||
.cascade-5 {
|
||||
display: revert-layer;
|
||||
}
|
||||
|
||||
.color-3 {
|
||||
@@ -93,7 +85,6 @@
|
||||
display: hwb(120deg, 44%, 50%);
|
||||
display: lab(1 2 3);
|
||||
display: lch(4 5 6);
|
||||
display: gray(50%);
|
||||
display: color(swopc, 0 206 190 77);
|
||||
display: device-cmyk(0, 81%, 81%, 30%);
|
||||
display: relative-colorimetric;
|
||||
@@ -108,14 +99,14 @@
|
||||
.color-5 {
|
||||
display: color-mix(red yellow 65%);
|
||||
display: color-contrast(wheat tan, sienna, var(--myAccent), #d2691e);
|
||||
display: color-adjust(peru lightness(-20%));
|
||||
}
|
||||
|
||||
.color-adjust-1 {
|
||||
color-scheme: auto;
|
||||
forced-color-adjust: auto;
|
||||
print-color-adjust: auto;
|
||||
color-adjust: auto;
|
||||
display: only;
|
||||
display: light;
|
||||
display: economy;
|
||||
display: exact;
|
||||
}
|
||||
@@ -142,10 +133,26 @@
|
||||
}
|
||||
|
||||
@supports (display: auto) or
|
||||
(display: auto) not
|
||||
(display: auto) {
|
||||
(display: auto) not
|
||||
(display: auto) {
|
||||
.conditional-3 {
|
||||
display: auto;
|
||||
display: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@supports (selector(.conditional-4)) {
|
||||
.conditional-4 {
|
||||
display: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@when media(screen) {
|
||||
.conditional-5 {
|
||||
display: auto;
|
||||
}
|
||||
} @else {
|
||||
.conditional-5 {
|
||||
display: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -157,6 +164,10 @@
|
||||
}
|
||||
|
||||
.contain-2 {
|
||||
content-visibility: auto;
|
||||
}
|
||||
|
||||
.contain-3 {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
@@ -250,11 +261,10 @@
|
||||
|
||||
.display-3 {
|
||||
display: contents;
|
||||
display: run-in;
|
||||
display: ruby;
|
||||
display: ruby-base;
|
||||
display: ruby-text;
|
||||
display: ruby-base-group;
|
||||
display: ruby-text-group;
|
||||
}
|
||||
|
||||
.easing-1 {
|
||||
@@ -365,34 +375,47 @@
|
||||
}
|
||||
|
||||
.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;
|
||||
ascent-override: auto;
|
||||
descent-override: auto;
|
||||
line-gap-override: auto;
|
||||
font-optical-sizing: auto;
|
||||
font-variation-settings: auto;
|
||||
font-palette: auto;
|
||||
font-presentation: auto;
|
||||
font-variant-emoji: auto;
|
||||
font-presentation: auto;
|
||||
display: system-ui;
|
||||
display: emoji;
|
||||
display: math;
|
||||
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-sans-serif;
|
||||
display: ui-monospace;
|
||||
display: ui-rounded;
|
||||
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 {
|
||||
@@ -406,7 +429,7 @@
|
||||
footnote-display: auto;
|
||||
footnote-policy: auto;
|
||||
display: footnote;
|
||||
display: line;
|
||||
display: line;
|
||||
display: element(header);
|
||||
display: running(heading);
|
||||
}
|
||||
@@ -427,6 +450,10 @@
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.highlight-api-1::highlight(test) {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.html5,
|
||||
picture,
|
||||
rb,
|
||||
@@ -444,6 +471,7 @@ template {
|
||||
display: flip;
|
||||
display: scale-down;
|
||||
display: from-image;
|
||||
display: pixelated;
|
||||
display: repeating-linear-gradient(to bottom, yellow, blue);
|
||||
display: repeating-radial-gradient(farthest-corner at 50% 50%, yellow, green);
|
||||
}
|
||||
@@ -458,13 +486,23 @@ template {
|
||||
.inline-3 {
|
||||
dominant-baseline: auto;
|
||||
alignment-baseline: auto;
|
||||
baseline-source: auto;
|
||||
baseline-shift: auto;
|
||||
text-edge: auto;
|
||||
leading-trim: auto;
|
||||
inline-sizing: auto;
|
||||
initial-letters: auto;
|
||||
initial-letters-align: auto;
|
||||
initial-letters-wrap: auto;
|
||||
initial-letter: auto;
|
||||
initial-letter-align: auto;
|
||||
initial-letter-wrap: auto;
|
||||
display: mathematical;
|
||||
display: central;
|
||||
display: ideographic;
|
||||
display: leading;
|
||||
display: cap;
|
||||
display: ex;
|
||||
display: ideographic-ink;
|
||||
display: drop;
|
||||
display: raise;
|
||||
}
|
||||
|
||||
.layout-api-1 {
|
||||
@@ -503,13 +541,6 @@ template {
|
||||
margin-inline-end: auto;
|
||||
margin-block: 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-end: auto;
|
||||
padding-inline-start: auto;
|
||||
@@ -611,16 +642,17 @@ mask {
|
||||
}
|
||||
|
||||
.overflow-3 {
|
||||
max-lines: auto;
|
||||
block-overflow: auto;
|
||||
line-clamp: auto;
|
||||
continue: auto;
|
||||
overflow-clip-margin: auto;
|
||||
overflow-block: auto;
|
||||
overflow-inline: auto;
|
||||
scrollbar-gutter: auto;
|
||||
block-ellipsis: auto;
|
||||
line-clamp: auto;
|
||||
max-lines: auto;
|
||||
continue: auto;
|
||||
}
|
||||
|
||||
.overflow-4::nth-fragment(1) {
|
||||
scrollbar-gutter: auto;
|
||||
display: stable;
|
||||
display: force;
|
||||
display: overflow;
|
||||
@@ -665,10 +697,13 @@ mask {
|
||||
}
|
||||
|
||||
.position-3 {
|
||||
offset-before: auto;
|
||||
offset-end: auto;
|
||||
offset-after: auto;
|
||||
offset-start: 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;
|
||||
display: sticky;
|
||||
}
|
||||
|
||||
@@ -678,9 +713,10 @@ mask {
|
||||
initial-value: auto;
|
||||
}
|
||||
|
||||
.pseudo-4::inactive-selection,
|
||||
.pseudo-4::target-text,
|
||||
.pseudo-4::spelling-error,
|
||||
.pseudo-4::grammer-error {
|
||||
.pseudo-4::grammer-error,
|
||||
.pseudi-4::file-selectors-button {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
@@ -714,14 +750,14 @@ mask {
|
||||
|
||||
@media (device-radius: 50%) {
|
||||
.round-display-1 {
|
||||
shape-inside: auto;
|
||||
border-boundary: auto;
|
||||
polar-angle: auto;
|
||||
polar-distance: auto;
|
||||
display: outside-shape;
|
||||
display: shape-box;
|
||||
display: parent;
|
||||
display: polar;
|
||||
shape-inside: auto;
|
||||
border-boundary: auto;
|
||||
polar-angle: auto;
|
||||
polar-distance: auto;
|
||||
display: outside-shape;
|
||||
display: shape-box;
|
||||
display: parent;
|
||||
display: polar;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -729,8 +765,10 @@ mask {
|
||||
ruby-position: auto;
|
||||
ruby-merge: auto;
|
||||
ruby-align: auto;
|
||||
ruby-overhang: auto;
|
||||
display: ruby-base-container;
|
||||
display: ruby-text-container;
|
||||
display: merge;
|
||||
display: inter-character;
|
||||
}
|
||||
|
||||
@@ -746,7 +784,7 @@ mask {
|
||||
|
||||
@scope .scoping-1 {
|
||||
div {
|
||||
display: auto;
|
||||
display: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -835,10 +873,6 @@ mask {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.selectors-nonelement-1::attr(title) {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.shadow-parts::part(textspan) {
|
||||
display: auto;
|
||||
}
|
||||
@@ -860,6 +894,14 @@ mask {
|
||||
display: fit-content(10%);
|
||||
}
|
||||
|
||||
.sizing-4 {
|
||||
contain-intrinsic-size: auto;
|
||||
min-intrinsic-sizing: auto;
|
||||
display: fit-content;
|
||||
display: zero-if-scroll;
|
||||
display: zero-if-extrinsic;
|
||||
}
|
||||
|
||||
.speech-1 {
|
||||
voice-volume: auto;
|
||||
voice-balance: auto;
|
||||
@@ -1076,12 +1118,15 @@ view {
|
||||
}
|
||||
|
||||
.text-decor-4 {
|
||||
text-decoration-width: auto;
|
||||
text-decoration-thickness: auto;
|
||||
text-underline-offset: auto;
|
||||
text-decoration-skip: auto;
|
||||
text-decoration-skip-ink: auto;
|
||||
text-emphasis-skip: auto;
|
||||
display: spelling-error;
|
||||
display: grammer-error;
|
||||
display: objects;
|
||||
display: from-font;
|
||||
display: spaces;
|
||||
display: leading-spaces;
|
||||
display: trailing-spaces;
|
||||
@@ -1128,6 +1173,11 @@ view {
|
||||
display: underscore;
|
||||
}
|
||||
|
||||
.unofficials {
|
||||
backdrop-filter: auto;
|
||||
display: env(safe-area-inset-top, 20px);
|
||||
}
|
||||
|
||||
.values-3 {
|
||||
display: 1ch;
|
||||
display: 1q;
|
||||
@@ -1137,14 +1187,54 @@ view {
|
||||
.values-4 {
|
||||
display: 1vi;
|
||||
display: 1vb;
|
||||
display: 1ic;
|
||||
display: 1rex;
|
||||
display: 1cap;
|
||||
display: 1rcap;
|
||||
display: 1rch;
|
||||
display: 1ic;
|
||||
display: 1ric;
|
||||
display: 1lh;
|
||||
display: 1rlh;
|
||||
display: 1svh;
|
||||
display: 1svw;
|
||||
display: 1svi;
|
||||
display: 1svb;
|
||||
display: 1svmin;
|
||||
display: 1svmax;
|
||||
display: 1lvh;
|
||||
display: 1lvw;
|
||||
display: 1lvi;
|
||||
display: 1lvb;
|
||||
display: 1lvmin;
|
||||
display: 1lvmax;
|
||||
display: 1dvh;
|
||||
display: 1dvw;
|
||||
display: 1dvi;
|
||||
display: 1dvb;
|
||||
display: 1dvmin;
|
||||
display: 1dvmax;
|
||||
display: min(0, 1);
|
||||
display: max(0, 1);
|
||||
display: clamp(0, 100, 2);
|
||||
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);
|
||||
display: mix(33%; 1px; 2px);
|
||||
}
|
||||
|
||||
.variables-1 {
|
||||
|
||||
Reference in New Issue
Block a user