|
76 | 76 | </p> |
77 | 77 | <h1 class="p-name no-ref" id=title>CSS Line Grid Module Level 1</h1> |
78 | 78 | <h2 class="no-num no-toc no-ref heading settled" id=subtitle><span class=content>Editor’s Draft, |
79 | | - <span class=dt-updated><span class=value-title title=20140902>2 September 2014</span></span></span></h2> |
| 79 | + <span class=dt-updated><span class=value-title title=20140904>4 September 2014</span></span></span></h2> |
80 | 80 | <div data-fill-with=spec-metadata><dl> |
81 | 81 | <dt>This version: |
82 | 82 | <dd><a class=u-url href=http://dev.w3.org/csswg/css-line-grid/>http://dev.w3.org/csswg/css-line-grid/</a> |
@@ -493,20 +493,22 @@ <h3 class="heading settled" data-level=3.1 id=line-snap><span class=secno>3.1 </ |
493 | 493 | the block containing the elements is centered. |
494 | 494 | In a centered situation, |
495 | 495 | you have to align baselines |
496 | | - while maintaining centering.</p> |
| 496 | + while maintaining centering. |
| 497 | + This can be done in two shift-and-center steps.</p> |
497 | 498 |
|
498 | | -<p>This can be done in two shift-and-center steps. |
499 | | - First, shift the snapping lines |
500 | | - as if there were no centering |
501 | | - (as in figure 8 above), |
| 499 | +<p>First, shift the snapping lines |
| 500 | + as if the block was top-aligned |
| 501 | + (as in figure 9 above), |
502 | 502 | then remove the shift |
503 | | - for the very first snapping line |
504 | | - and center the block. |
505 | | - You can see the result |
| 503 | + for the very first snapping line. |
| 504 | + After removing the first shift, |
| 505 | + try centering the block. |
| 506 | + This is almost certain |
| 507 | + to throw the baseline alignment off. |
| 508 | + You can see one such result |
506 | 509 | in the partial shifting figure below.</p> |
507 | 510 |
|
508 | | -<p>In the second step, |
509 | | - measure the distance |
| 511 | +<p>Second, measure the distance |
510 | 512 | from the first snapped line’s baseline |
511 | 513 | to the grid lines above and below, |
512 | 514 | looking for the closest grid line |
@@ -560,8 +562,8 @@ <h3 class="heading settled" data-level=3.1 id=line-snap><span class=secno>3.1 </ |
560 | 562 | but is simpler than the centered case.</p> |
561 | 563 |
|
562 | 564 | <p>First, shift the snapping lines |
563 | | - as if there were no centering |
564 | | - (as in figure 8 above), |
| 565 | + as if there were no end-alignment |
| 566 | + (as in figure 9 above), |
565 | 567 | then end-align the block.</p> |
566 | 568 |
|
567 | 569 | <p>Second, shift the entire block contents upwards |
|
0 commit comments