Add selectors-nonelement-1.vim

See also: http://www.w3.org/TR/selectors-nonelement-1/
This commit is contained in:
Kyo Nagashima
2016-01-03 19:58:21 +09:00
parent a63e01af90
commit e713b6f485
4 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1 @@
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start="::attr(" end=")" oneline

View File

@@ -51,3 +51,4 @@ syn include @htmlCss syntax/css/css-writing-modes-3.vim
syn include @htmlCss syntax/css/html5-elements.vim
syn include @htmlCss syntax/css/motion-1.vim
syn include @htmlCss syntax/css/selectors4.vim
syn include @htmlCss syntax/css/selectors-nonelement-1.vim

View File

@@ -474,6 +474,10 @@
display: auto;
}
.selectors-nonelement-1::attr(title) {
display: auto;
}
.shapes {
shape-outside: margin-box;
shape-image-threshold: inset(50% 50% 50% 50%);

View File

@@ -521,6 +521,11 @@
}
</style>
<style>
.selectors-nonelement-1::attr(title) {
display: auto;
}
</style>
<style>
.shapes {
shape-outside: margin-box;
shape-image-threshold: inset(50% 50% 50% 50%);