mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-08 11:34:45 +08:00
Add css-inline-3.vim and test
See also: http://www.w3.org/TR/css-inline-3/
This commit is contained in:
3
after/syntax/css/css-inline-3.vim
Normal file
3
after/syntax/css/css-inline-3.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
" TODO: create cssInlineProp and cssInlineAttr
|
||||
syn match cssFontProp contained "\<initial-letter\(-align\)\="
|
||||
syn keyword cssFontAttr contained ideographic
|
||||
@@ -30,6 +30,7 @@ syn include @htmlCss syntax/css/css-display-3.vim
|
||||
syn include @htmlCss syntax/css/css-flexbox-1.vim
|
||||
syn include @htmlCss syntax/css/css-gcpm-3.vim
|
||||
syn include @htmlCss syntax/css/css-grid-1.vim
|
||||
syn include @htmlCss syntax/css/css-inline-3.vim
|
||||
syn include @htmlCss syntax/css/css-line-grid-1.vim
|
||||
syn include @htmlCss syntax/css/css-lists-3.vim
|
||||
syn include @htmlCss syntax/css/css-masking-1.vim
|
||||
|
||||
@@ -232,6 +232,11 @@
|
||||
display: repeating-radial-gradient(farthest-corner at 50% 50%, yellow, green);
|
||||
}
|
||||
|
||||
.inline {
|
||||
initial-letter: ideographic;
|
||||
initial-letter-align: auto;
|
||||
}
|
||||
|
||||
.layout::slot(b) {
|
||||
display: same;
|
||||
}
|
||||
|
||||
@@ -243,6 +243,11 @@
|
||||
display: repeating-radial-gradient(farthest-corner at 50% 50%, yellow, green);
|
||||
}
|
||||
|
||||
.inline {
|
||||
initial-letter: ideographic;
|
||||
initial-letter-align: auto;
|
||||
}
|
||||
|
||||
.layout::slot(b) {
|
||||
display: same;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user