mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 03:04:26 +08:00
Add nav-1.vim
This syntax file is for CSS Spatial Navigation Level 1. See also: https://www.w3.org/TR/2019/WD-css-nav-1-20190423/
This commit is contained in:
2
after/syntax/css/nav-1.vim
Normal file
2
after/syntax/css/nav-1.vim
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
syn match cssFontProp contained "\<spatial-navigation-\(action\|contain\)\>"
|
||||||
|
syn keyword cssFontAttr contained focus
|
||||||
@@ -580,6 +580,12 @@ mask {
|
|||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav-1 {
|
||||||
|
spatial-navigation-contain: auto;
|
||||||
|
spatial-navigation-action: auto;
|
||||||
|
display: focus;
|
||||||
|
}
|
||||||
|
|
||||||
.overflow-3 {
|
.overflow-3 {
|
||||||
max-lines: auto;
|
max-lines: auto;
|
||||||
block-overflow: auto;
|
block-overflow: auto;
|
||||||
|
|||||||
Reference in New Issue
Block a user