Skip to content

Commit

Permalink
[css-rhythm-1] Publication fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasai committed Dec 13, 2024
1 parent 33a1b2b commit 47635a7
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions css-rhythm-1/Overview.bs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<style>
.example .figure img {
background-color: white;
padding: 20px;
margin: 20px;
background-color: white;
padding: 20px;
margin: 20px;
}
</style>
<pre class=metadata>
Expand All @@ -17,7 +17,7 @@ Editor: Elika J. Etemad / fantasai, Apple, http://fantasai.inkedblade.net/contac
ED: https://drafts.csswg.org/css-rhythm/
TR: https://www.w3.org/TR/css-rhythm-1/
Abstract: This module contains CSS features for aligning content size
to multiple of unit size.
to multiple of unit size.
</pre>
<pre class=link-defaults>
spec:css2; type:property; text:max-height
Expand All @@ -26,6 +26,7 @@ spec:css2; type:property; text:min-width
spec:css-writing-modes-4; type:dfn; text:end
spec:css-writing-modes-4; type:dfn; text:start
spec:css-break-3; type:dfn; text:fragment
spec:css-box-4; type:dfn; text:content area
</pre>

Introduction {#intro}
Expand Down Expand Up @@ -278,7 +279,7 @@ Specifying Alignment: the 'block-step-align' property {#block-step-align}
<dl dfn-for="block-step-align" dfn-type="value">
<dt><dfn>auto</dfn>
<dd>
If 'block-step-insert' is ''margin-box'':
If 'block-step-insert' is ''block-step-insert/margin-box'':
if 'align-self' is ''start'', ''end'', or ''center'', treat as that value,
otherwise treat as ''center''.

Expand All @@ -302,7 +303,7 @@ Specifying Alignment: the 'block-step-align' property {#block-step-align}
additional spacing cannot be added to margins
that are truncated or omitted due to unforced fragmentation breaks
(see [[CSS3-PAGE]] and [[CSS-BREAK-3]]);
therefore if 'block-step-insert' is ''margin-box'',
therefore if 'block-step-insert' is ''block-step-insert/margin-box'',
all extra space derived from applying 'block-step-size'
must be inserted on the opposite side of the fragment
(regardless of 'block-step-align').
Expand Down Expand Up @@ -402,7 +403,7 @@ by making heights of all lines an integer multiple of the <a>step unit</a>.
the closest multiple of the unit.
Negative <<length>> values are invalid.

[[!CSS21]] <a href="https://drafts.csswg.org/css2/visudet.html#line-height">&#xA7;10.8 Line height calculations</a>
[[!CSS2]] <a href="https://drafts.csswg.org/css2/visudet.html#line-height">&#xA7;10.8 Line height calculations</a>
defines how to compute the height of a line box from its inline-level content.
The rounding is applied to the resulting height of the line box,
and the additional space is distributed to
Expand Down

0 comments on commit 47635a7

Please sign in to comment.