Skip to content

Commit 6407549

Browse files
committed
x
1 parent 04981e8 commit 6407549

1 file changed

Lines changed: 21 additions & 16 deletions

File tree

css3-gcpm/Overview.html

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3791,29 +3791,34 @@ <h3 id=aligning-baselines><span class=secno>14.2. </span>Aligning baselines</h3>
37913791
<p>In multi-column layouts, baselines are typically aligned between
37923792
adjacent columns. This gives the presentation a visual rythm, and text in
37933793
the end of the columns will be alignend. To support this, a new value on
3794-
the <span class=property>&lsquo;<code class=css>line-stacking
3795-
strategy</code>&rsquo;</span> is defined: &lsquo;<code
3796-
class=css>grid-height</code>&rsquo;.
3797-
3798-
<p class=note>The &lsquo;<code
3799-
class=property>line-stacking-strategy</code>&rsquo; property is <a
3800-
href="http://www.w3.org/TR/xsl/#line-stacking-strategy">used in XSL</a>,
3801-
and the &lsquo;<code class=property>grid-height</code>&rsquo; value was
3802-
proposed in a <a
3803-
href="http://www.w3.org/TR/css3-linebox/#line-stacking-strategy">previous
3804-
CSS draft</a>
3805-
3806-
<p>The value means that the stack-height of the element is the smallest
3807-
multiple of the used &lsquo;<code class=property>line-height</code>&rsquo;
3808-
value on the containing block.
3794+
the <span class=property>&lsquo;<code
3795+
class=property>line-box-contain</code>&rsquo;</span> is defined:
3796+
&lsquo;<code class=css>crack</code>&rsquo; (or, perhaps, &lsquo;<code
3797+
class=css>snap-space</code>&rsquo;, &lsquo;<code
3798+
class=css>void</code>&rsquo;, &lsquo;<code class=css>grid</code>&rsquo;,
3799+
&lsquo;<code class=css>dmz</code>&rsquo;).
3800+
3801+
<p>The value means that the height of the line in which the element occurs
3802+
should be rounded upt to the smallest multiple of the used &lsquo;<code
3803+
class=property>line-height</code>&rsquo; value on the containing block.
38093804

38103805
<div class=example> In this example, the stacking height of div.figure
38113806
would be 30px (2 * 15px)
38123807
<pre>
38133808
div.multicol { line-height: 15px }
3814-
div.figure { height: 20px; line-stacking-strategy: grid-height }
3809+
div.figure { height: 20px; line-box-contain: block inline replaced crack }
38153810
</pre>
38163811

3812+
<p class=note> <!--
3813+
http://www.w3.org/Style/Group/css3-src/css3-linebox/Overview.html#LineStacking
3814+
-->
3815+
A similar idea for a &lsquo;<code
3816+
class=property>grid-height</code>&rsquo; value was proposed in a <a
3817+
href="http://www.w3.org/TR/css3-linebox/#line-stacking-strategy">previous
3818+
CSS draft</a>. The &lsquo;<code
3819+
class=property>line-stacking-strategy</code>&rsquo; property is <a
3820+
href="http://www.w3.org/TR/xsl/#line-stacking-strategy">used in XSL</a>.
3821+
38173822
<h2 id=conformance><span class=secno>15. </span>Conformance</h2>
38183823
<!--User agents that support hyphenation and support this specification must a-->
38193824

0 commit comments

Comments
 (0)