Add pointerevents.vim

See also: http://www.w3.org/TR/pointerevents/

This resolves #46.
This commit is contained in:
Kyo Nagashima
2016-12-15 15:58:42 +09:00
parent 01f1652ea1
commit 67e1163e71
4 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
syn match cssFontProp contained "\<touch-action\>"
syn keyword cssFontAttr contained manipulation
syn match cssFontAttr contained "\<pan-\(x\|y\)\>"

View File

@@ -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

View File

@@ -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;

View File

@@ -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;