Skip to content

Commit 5c43104

Browse files
committed
[css-rhythm-1] Handle fragmentation in general, not just page breaks. Adjusts wording added in #1260
1 parent 4bcfff1 commit 5c43104

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

css-rhythm-1/Overview.bs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ spec:css21; type:property; text:max-width
2525
spec:css21; type:property; text:min-width
2626
spec:css-writing-modes-4; type:dfn; text:end
2727
spec:css-writing-modes-4; type:dfn; text:start
28+
spec:css-break-3; type:dfn; text:fragment
2829
</pre>
2930

3031
Introduction {#intro}
@@ -182,10 +183,13 @@ Specifying the Step Size: the 'block-step-size' property {#block-step-size}
182183
Values other than ''block-step-size/none''
183184
cause the box to establish a new formatting context.
184185

185-
In situations where margins <a href="">collapse</a>,
186+
In situations where margins <a href="https://www.w3.org/TR/CSS2/box.html#collapsing-margins">collapse</a>,
186187
only the box’s own margin is considered
187188
in calculating its outer size.
188189

190+
When a box <a>fragments</a>,
191+
step sizing is applied per fragment.
192+
189193
Specifying the Spacing Type: the 'block-step-insert' property {#block-step-insert}
190194
--------------------------------------------------------
191195

@@ -264,11 +268,11 @@ Specifying Alignment: the 'block-step-align' property {#block-step-align}
264268

265269
In all cases,
266270
additional spacing cannot be added to margins
267-
that are truncated due to unforced page breaks
268-
(see [[CSS3-PAGE]]);
271+
that are truncated or omitted due to unforced fragmentation breaks
272+
(see [[CSS3-PAGE]] and [[CSS-BREAK-3]]);
269273
therefore if 'block-step-insert' is ''margin'',
270274
all extra space derived from applying 'block-step-size'
271-
must be inserted on the opposite side of the box
275+
must be inserted on the opposite side of the fragment
272276
(regardless of 'block-step-align').
273277

274278
Rounding Method: the 'block-step-round' property {#block-step-round}

0 commit comments

Comments
 (0)