Skip to content

Commit 4222f46

Browse files
committed
adding line-stacking-strategy
1 parent 46cfb89 commit 4222f46

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

css3-gcpm/Overview.src.html

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2936,7 +2936,7 @@ <h3>The 'float-offset' property</h3>
29362936
width: 1gr }
29372937
</pre>
29382938

2939-
<p>The '1gr' value on
2939+
<p>The ''1gr'' value on
29402940
'width' is equal to the width of the containing block. Here is a possible rendering:
29412941

29422942
<img src=6.png>
@@ -3270,6 +3270,29 @@ <h3>The 'float-offset' property</h3>
32703270

32713271
</div>
32723272

3273+
<h3>Aligning baselines</h3>
3274+
3275+
<p>In multi-column layouts, baselines are typically aligned between
3276+
adjacent columns. This gives the presentation a visual rythm, and text
3277+
in the end of the columns will be alignend. To support this, a new
3278+
value on the <span class=property>'line-stacking strategy'</span> is
3279+
defined: ''grid-height''.
3280+
3281+
<p class=note>The 'line-stacking-strategy' property is <a href="http://www.w3.org/TR/xsl/#line-stacking-strategy">used in XSL</a>, and the 'grid-height' value was proposed in a <a href="http://www.w3.org/TR/css3-linebox/#line-stacking-strategy">previous CSS draft</a>
3282+
3283+
<p>The value means that the stack-height of the element is the smallest multiple of the used 'line-height' value on the containing block.
3284+
3285+
<div class=example>
3286+
In this example, the stacking height of div.figure would be 30px (2 * 15px)
3287+
3288+
<pre>
3289+
div.multicol { line-height: 15px }
3290+
div.figure { height: 20px; line-stacking-strategy: grid-height }
3291+
</pre>
3292+
3293+
3294+
3295+
32733296

32743297

32753298
<h2>Conformance</h2>

0 commit comments

Comments
 (0)