Skip to content

Commit 8fcad3e

Browse files
committed
[css-text-4] change consume-* values to discard-*
1 parent 223e645 commit 8fcad3e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

css-text-4/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ White Space Trimming: the 'text-space-trim' property</h3>
9898

9999
<pre class="propdef">
100100
Name: text-space-trim
101-
Value: none | trim-inner || consume-before || consume-after
101+
Value: none | trim-inner || discard-before || discard-after
102102
Initial: collapse
103103
Applies to: all elements
104104
Inherited: no
@@ -123,12 +123,12 @@ White Space Trimming: the 'text-space-trim' property</h3>
123123
For other elements this value directs UAs to discard all whitespace
124124
at the beginning and end of the element.
125125

126-
<dt><dfn>consume-before</dfn>
126+
<dt><dfn>discard-before</dfn>
127127
<dd>
128128
This value directs the UA to collapse all collapsible whitespace
129129
immediately before the start of the element.
130130

131-
<dt><dfn>consume-after</dfn>
131+
<dt><dfn>discard-after</dfn>
132132
<dd>
133133
This value directs the UA to collapse all collapsible whitespace
134134
immediately after the end of the element.
@@ -138,7 +138,7 @@ White Space Trimming: the 'text-space-trim' property</h3>
138138
<p>The following style rules render DT elements as a comma-separated list:
139139
<pre>
140140
dt { display: inline; }
141-
dt + dt:before { content: ", "; text-space-collapse: consume-before; }
141+
dt + dt:before { content: ", "; text-space-collapse: discard-before; }
142142
</pre>
143143
</div>
144144

0 commit comments

Comments
 (0)