Skip to content

Commit 9da6a1e

Browse files
committed
Follow WD-css-display-3-20150721
See also: http://www.w3.org/TR/2015/WD-css-display-3-20150721/
1 parent 551475e commit 9da6a1e

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

after/syntax/css/css-display-3.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
" TODO: create cssDisplayProp group and cssDisplayAttr group
2-
syn match cssFontProp contained "\<display-\(inside\|outside\|list\|suppress\)\>"
3-
syn keyword cssFontAttr contained contents show
4-
syn match cssFontAttr contained "\<\(block\|inline\)-level\>"
2+
syn match cssFontProp contained "\<box-suppress\>"
3+
syn keyword cssFontAttr contained contents discard
4+
syn match cssFontAttr contained "\<flow\(-root\)\=\>"
55
syn match cssFontAttr contained "\<inline-list-item\>"

test/test.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,11 @@
157157
}
158158

159159
.display {
160-
display-inside: block-level;
161-
display-outside: inline-level;
162-
display-list: contents;
163-
display-suppress: inline-list-item;
164-
display: show;
160+
box-suppress: flow;
161+
display: flow-root;
162+
display: contents;
163+
display: inline-list-item;
164+
display: discard;
165165
}
166166

167167
.exclusions {

test/test.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,11 @@
179179
</style>
180180
<style>
181181
.display {
182-
display-inside: block-level;
183-
display-outside: inline-level;
184-
display-list: contents;
185-
display-suppress: inline-list-item;
186-
display: show;
182+
box-suppress: flow;
183+
display: flow-root;
184+
display: contents;
185+
display: inline-list-item;
186+
display: discard;
187187
}
188188
</style>
189189
<style>

0 commit comments

Comments
 (0)