mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2026-01-28 03:42:08 +08:00
Follow WD-css3-break-20140116
This commit is contained in:
@@ -2,6 +2,6 @@
|
|||||||
syn match cssFontProp contained "\<background-\(clip\|origin\|size\)\>"
|
syn match cssFontProp contained "\<background-\(clip\|origin\|size\)\>"
|
||||||
syn match cssFontProp contained "\<border-image\(-\(source\|slice\|width\|outset\|repeat\)\)\=\>"
|
syn match cssFontProp contained "\<border-image\(-\(source\|slice\|width\|outset\|repeat\)\)\=\>"
|
||||||
syn match cssFontProp contained "\<border-\(\(top-right\|bottom-right\|bottom-left\|top-left\)-\)\=radius\>"
|
syn match cssFontProp contained "\<border-\(\(top-right\|bottom-right\|bottom-left\|top-left\)-\)\=radius\>"
|
||||||
syn match cssFontProp contained "\<box-\(decoration-break\|shadow\)\>"
|
syn match cssFontProp contained "\<box-shadow\>"
|
||||||
syn keyword cssFontAttr contained space round local fill stretch clone slice
|
syn keyword cssFontAttr contained space round local fill stretch clone slice
|
||||||
syn match cssFontAttr contained "\<\(padding\|border\|content\)-box\>"
|
syn match cssFontAttr contained "\<\(padding\|border\|content\)-box\>"
|
||||||
|
|||||||
@@ -1,2 +1,5 @@
|
|||||||
" TODO: create cssBreakProp group and cssBreakAttr group
|
if !hlexists('cssBreakProp')
|
||||||
syn match cssFontProp contained "\<break-\(after\|before\|inside\)\>"
|
syn match cssFontProp contained "\<break-\(after\|before\|inside\)\>"
|
||||||
|
syn match cssFontProp contained "\<box-decoration-break\>"
|
||||||
|
syn keyword cssFontAttr contained any
|
||||||
|
endif
|
||||||
|
|||||||
@@ -37,7 +37,6 @@
|
|||||||
border-bottom-right-radius: auto;
|
border-bottom-right-radius: auto;
|
||||||
border-bottom-left-radius: auto;
|
border-bottom-left-radius: auto;
|
||||||
border-top-left-radius: auto;
|
border-top-left-radius: auto;
|
||||||
box-decoration-break: auto;
|
|
||||||
box-shadow: auto;
|
box-shadow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -56,9 +55,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.break {
|
.break {
|
||||||
break-after: auto;
|
break-after: any;
|
||||||
break-before: auto;
|
break-before: auto;
|
||||||
break-inside: auto;
|
break-inside: auto;
|
||||||
|
box-decoration-break: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cascade {
|
.cascade {
|
||||||
|
|||||||
Reference in New Issue
Block a user