mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 03:04:26 +08:00
Add pointerevents.vim
See also: http://www.w3.org/TR/pointerevents/ This resolves #46.
This commit is contained in:
3
after/syntax/css/pointerevents.vim
Normal file
3
after/syntax/css/pointerevents.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn match cssFontProp contained "\<touch-action\>"
|
||||
syn keyword cssFontAttr contained manipulation
|
||||
syn match cssFontAttr contained "\<pan-\(x\|y\)\>"
|
||||
@@ -61,6 +61,7 @@ syn include @htmlCss syntax/css/filter-effects-1.vim
|
||||
syn include @htmlCss syntax/css/geometry-1.vim
|
||||
syn include @htmlCss syntax/css/html5-elements.vim
|
||||
syn include @htmlCss syntax/css/motion-1.vim
|
||||
syn include @htmlCss syntax/css/pointerevents.vim
|
||||
syn include @htmlCss syntax/css/selectors-nonelement-1.vim
|
||||
syn include @htmlCss syntax/css/selectors.vim
|
||||
syn include @htmlCss syntax/css/selectors4.vim
|
||||
|
||||
@@ -426,6 +426,12 @@
|
||||
display: paint(my_logo);
|
||||
}
|
||||
|
||||
.pointerevents {
|
||||
touch-action: pan-x;
|
||||
display: pan-y;
|
||||
display: manipulation;
|
||||
}
|
||||
|
||||
.position-3 {
|
||||
offset-before: sticky;
|
||||
offset-end: auto;
|
||||
|
||||
@@ -473,6 +473,13 @@
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
.pointerevents {
|
||||
touch-action: pan-x;
|
||||
display: pan-y;
|
||||
display: manipulation;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
.position-3 {
|
||||
offset-before: sticky;
|
||||
offset-end: auto;
|
||||
|
||||
Reference in New Issue
Block a user