mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 03:04:26 +08:00
Add selectors-nonelement-1.vim
See also: http://www.w3.org/TR/selectors-nonelement-1/
This commit is contained in:
1
after/syntax/css/selectors-nonelement-1.vim
Normal file
1
after/syntax/css/selectors-nonelement-1.vim
Normal file
@@ -0,0 +1 @@
|
|||||||
|
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start="::attr(" end=")" oneline
|
||||||
@@ -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/html5-elements.vim
|
||||||
syn include @htmlCss syntax/css/motion-1.vim
|
syn include @htmlCss syntax/css/motion-1.vim
|
||||||
syn include @htmlCss syntax/css/selectors4.vim
|
syn include @htmlCss syntax/css/selectors4.vim
|
||||||
|
syn include @htmlCss syntax/css/selectors-nonelement-1.vim
|
||||||
|
|||||||
@@ -474,6 +474,10 @@
|
|||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.selectors-nonelement-1::attr(title) {
|
||||||
|
display: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.shapes {
|
.shapes {
|
||||||
shape-outside: margin-box;
|
shape-outside: margin-box;
|
||||||
shape-image-threshold: inset(50% 50% 50% 50%);
|
shape-image-threshold: inset(50% 50% 50% 50%);
|
||||||
|
|||||||
@@ -521,6 +521,11 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style>
|
<style>
|
||||||
|
.selectors-nonelement-1::attr(title) {
|
||||||
|
display: auto;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.shapes {
|
.shapes {
|
||||||
shape-outside: margin-box;
|
shape-outside: margin-box;
|
||||||
shape-image-threshold: inset(50% 50% 50% 50%);
|
shape-image-threshold: inset(50% 50% 50% 50%);
|
||||||
|
|||||||
Reference in New Issue
Block a user