mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 11:14:25 +08:00
Follow changes in WD-css-box-3-20180809
The box-3 spec is rewrote completely. But properties defined in previous spec is not ported anywhere. So keep them. See also: https://www.w3.org/TR/2018/WD-css-box-3-20180809/
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
|
" These will be moved to block-3
|
||||||
syn match cssBoxProp contained "\<clear-after\>"
|
syn match cssBoxProp contained "\<clear-after\>"
|
||||||
syn match cssBoxProp contained "\<float-displace\>"
|
syn match cssBoxProp contained "\<float-displace\>"
|
||||||
syn match cssBoxProp contained "\<indent-edge-reset\>"
|
syn match cssBoxProp contained "\<indent-edge-reset\>"
|
||||||
syn keyword cssBoxAttr contained scrollbar panner marquee decendants complex available
|
syn keyword cssBoxAttr contained scrollbar panner marquee decendants
|
||||||
syn match cssBoxAttr contained "\<block-within-page\>"
|
syn match cssBoxAttr contained "\<block-within-page\>"
|
||||||
syn match cssBoxAttr contained "\<fit-content\>"
|
|
||||||
syn match cssBoxAttr contained "\<\(margin\|border\|padding\|content\)-edge\>"
|
syn match cssBoxAttr contained "\<\(margin\|border\|padding\|content\)-edge\>"
|
||||||
|
|||||||
@@ -52,13 +52,10 @@
|
|||||||
display: discard;
|
display: discard;
|
||||||
display: decendants;
|
display: decendants;
|
||||||
display: block-within-page;
|
display: block-within-page;
|
||||||
display: fit-content;
|
|
||||||
display: complex;
|
|
||||||
display: margin-edge;
|
display: margin-edge;
|
||||||
display: border-edge;
|
display: border-edge;
|
||||||
display: padding-edge;
|
display: padding-edge;
|
||||||
display: content-edge;
|
display: content-edge;
|
||||||
display: available;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.break-3 {
|
.break-3 {
|
||||||
|
|||||||
Reference in New Issue
Block a user