Skip to content

Commit 0936276

Browse files
committed
[css-rhythm-1] Add block-step-insert: content-box, and add -box suffixes. w3c#10486
1 parent 8417364 commit 0936276

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

css-rhythm-1/Overview.bs

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ Specifying the Spacing Type: the 'block-step-insert' property {#block-step-inser
207207

208208
<pre class="propdef">
209209
Name: block-step-insert
210-
Value: margin | padding
211-
Initial: margin
210+
Value: margin-box | padding-box | content-box
211+
Initial: margin-box
212212
Applies to: block-level boxes
213213
Inherited: no
214214
Percentages: N/A
@@ -218,21 +218,30 @@ Specifying the Spacing Type: the 'block-step-insert' property {#block-step-inser
218218

219219
This property specifies whether extra spacing
220220
derived from applying 'block-step-size'
221-
is inserted inside (like 'padding') or outside (like 'margin')
222-
the box’s border.
221+
is inserted as extra space inside (like 'padding')
222+
or outside (like 'margin')
223+
the box’s border,
224+
or changes the height available to content
225+
(like 'min-height' or 'max-height').
223226

224227
Values have the following meanings:
225228

226229
<dl dfn-for="block-step-insert" dfn-type="value">
227-
<dt><dfn>margin</dfn>
230+
<dt><dfn>margin-box</dfn>
228231
<dd>
229232
Any extra space resulting from a 'block-step-size'-induced adjustment
230233
is inserted outside the box’s border, as extra margin.
231234

232-
<dt><dfn>padding</dfn>
235+
<dt><dfn>padding-box</dfn>
233236
<dd>
234237
Any extra space resulting from a 'block-step-size'-induced adjustment
235238
is inserted inside the box’s border, as extra padding.
239+
240+
<dt><dfn>content-box</dfn>
241+
<dd>
242+
Any extra space resulting from a 'block-step-size'-induced adjustment
243+
is inserted inside the box’s border
244+
by increasing the height of the [=content area=].
236245
</dl>
237246

238247
Specifying Alignment: the 'block-step-align' property {#block-step-align}

0 commit comments

Comments
 (0)