Skip to content

Commit 2f14195

Browse files
committed
All but the actual rewrite of 3.5, I think. (date: 2003/03/18 03:38:22)
1 parent 0ea7535 commit 2f14195

1 file changed

Lines changed: 23 additions & 33 deletions

File tree

css3-linebox/Overview.src.html

Lines changed: 23 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ <h2 class="no-num no-toc" id="Contents">Contents</h2>
148148
adjustment: the 'line-height' property</a>
149149

150150
<li><a href="#LineStacking"><span class="secno">3.5. </span>Line Stacking:
151-
the 'line-box-contain', 'line-stacking-ruby', 'line-stacking-shift'
152-
properties, and the 'line-stacking' shorthand property</a>
151+
the 'line-box-contain' property</a>
153152
</ul>
154153

155154
<li><a href="#baseline">
@@ -365,7 +364,7 @@ <h3 id="LineBoxWrapping"><span class="secno">3.2. </span>Line Box wrapping</h3>
365364
containing block), they may vary if available inline-progression space
366365
is reduced due to <!-- a href="#floats"-->
367366
floats<!--/a-->. Line boxes in the same inline formatting context may vary in
368-
block-progression dimension or not, depending on the line stacking strategy.</p>
367+
block-progression dimension.</p>
369368
<p>When the total inline-progression dimension of the inline boxes on a line is less than the
370369
inline-progression dimension of
371370
the line box containing them, their inline-progression distribution within the line box
@@ -549,36 +548,34 @@ <h3 id="InlineBoxHeight"><span class="secno">3.4. </span>Line height adjustment:
549548
</p>
550549

551550
<p>The <span class="index-def" title="leading"><em><a name="x15">leading</a></em></span><span title="leading">
552-
for an inline element
551+
for an inline non-replaced element
553552
is defined as the d</span>ifference between the block-progression dimension as
554553
determined by the 'text-height' property and the computed value
555554
of
556555
<a class="noxref" href="http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-line-height">
557556
<span class="propinst-line-height">'line-height'</span></a>. Half the leading is
558557
called the <span class="index-def" title="half-leading"><em><a name="x16">
559-
half-leading</a></em></span><span title="half-leading">, each half-leading is
558+
half-leading</a></em></span>, each half-leading is
560559
located before and after the block-progression dimension of the element.
561-
Depending on the value of the 'line-stacking-strategy', the 'line-height' value
562-
will specify the </span> <em>exact</em> extended block-progression dimension of each box
563-
generated by the element or be ignored. (Except for inline
560+
The 'line-height' value
561+
will specify the <em>exact</em> extended block-progression dimension of each box
562+
generated by the element.
563+
(Depending on the value of 'line-box-contain', the extended block-progression dimension may be ignored.)
564+
(For inline
564565
<a href="http://www.w3.org/TR/REC-CSS2/conform.html#replaced-element">replaced</a>
565-
elements, where both the block-progression dimension and the extended
566-
block-progression dimension of the box is given by the
567-
<span class="propinst-height">outer edges (i.e. margin edge).)</span> When the line-height value is ignored for an inline
568-
element, the extended block-progression dimension is identical to the
569-
block-progression dimension. Anonymous inline boxes use the 'text-height' and
566+
elements, both the block-progression dimension and the extended
567+
block-progression dimension of the box are given by the
568+
outer edges (i.e. margin edge).)
569+
Anonymous inline boxes use the 'text-height' and
570570
'line-height' property values specified for their parent.</p>
571571
<p>Depending on the
572572
value of the 'line-stacking-strategy', the 'line-height' value may provide a
573573
minimum or exact extended block-progression dimension for each generated inline box and
574574
the line boxes. How the leading space is distributed between the before-edge and
575575
the after-edge of inline elements within the line box depends on their
576-
vertical-align property value.</p>
577-
<p>When applicable, the <b>minimum extended block-progression dimension</b> consists of a minimum
578-
ascent above the block's baseline and a
579-
minimum descent below it, exactly as if each line box starts with a zero-width
580-
(relative) inline box with the blocks' font and line height properties (what T<sub>E</sub>X calls a
581-
'strut').</p>
576+
vertical-align property value.
577+
<span class="issue">[LDB: I don't understand this paragraph.]</span>
578+
</p>
582579
<p>Empty inline elements generate empty inline boxes, but these boxes still have
583580
a line height, and thus may influence the line box block-progression dimension,
584581
as if the empty box contained an infinitely narrow letter.</p>
@@ -660,11 +657,10 @@ <h3 id="InlineBoxHeight"><span class="secno">3.4. </span>Line height adjustment:
660657
computed value</a> of the property is this percentage multiplied by the
661658
element's computed font size. Negative values are illegal.</dd>
662659
<dt>none</dt>
663-
<dd>The element does not influence the <i>extended block-progression dimension</i>
664-
of the line. The computed value is the specified value ('none'). When set on a
665-
block element where the <a href="#stack-height">stack-height</a> computation
666-
is only based on the value or a multiple of the value of the 'line-height'
667-
property, the 'none' value is ignored and 'normal' is used instead.</dd>
660+
<dd>For inline-level elements, the element does not influence the <i>extended
661+
block-progression dimension</i> of the line. The computed value is the
662+
specified value ('none'). For block-level elements, equivalent to 'normal'
663+
(and the computed value is 'normal').</dd>
668664
</dl>
669665
<div class="example">
670666
<p style="DISPLAY: none">Example(s):</p>
@@ -686,10 +682,10 @@ <h3 id="InlineBoxHeight"><span class="secno">3.4. </span>Line height adjustment:
686682
<a class="noxref" href="http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-line-height">
687683
<span class="propinst-line-height">'line-height'</span></a> property, even if
688684
they are not used directly to determine the extended block-progression dimension of the box: 'em' and 'ex'
689-
values are relative to values of 'font-size and percentage values for
685+
values are relative to values of 'font-size' and percentage values for
690686
<a class="noxref" href="http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-vertical-align">
691687
<span class="propinst-vertical-align">'vertical-align'</span></a> are relative
692-
to values of the extended block-progression dimension.</p>
688+
to values of the extended block-progression dimension. <span class="issue">[LDB: The second part of this sentence is a significant change from CSS2, and also doesn't mauke senes in the context of the sentence.]</span></p>
693689

694690
<p>When the
695691
<a class="noxref" href="http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-line-height">
@@ -698,14 +694,8 @@ <h3 id="InlineBoxHeight"><span class="secno">3.4. </span>Line height adjustment:
698694
the rendered glyphs will &quot;bleed&quot; outside the box. If such a box touches the edge
699695
of a line box, the rendered glyphs will also &quot;bleed&quot; into the adjacent line box.</p>
700696

701-
<p class="note">Editors' note: The effect of 'line-height: none' on block-level
702-
elements needs to be specified (for all the values of 'line-stacking-strategy').</p>
703-
704697
<h3 id="LineStacking"><span class="secno">3.5. </span>Line Stacking: the
705-
<span class="property"><a href="#line-stacking-strategy">'line-stacking-strategy'</a></span>,
706-
<span class="property"><a href="#line-stacking-ruby">'line-stacking-ruby'</a></span>,
707-
<span class="property"><a href="#line-stacking-shift">'line-stacking-shift'</a></span> properties, and the
708-
<span class="property"><a href="#line-stacking">'line-stacking'</a></span> shorthand property</h3>
698+
<span class="property"><a href="#line-box-contain">'line-box-contain'</a></span> property</h3>
709699

710700

711701
<p>Line stacking is the mechanism by which a line box is determined for each

0 commit comments

Comments
 (0)