@@ -153,8 +153,8 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
153153 ‘< code class =css > gd</ code > ’ length unit</ a >
154154
155155 < li > < a href ="#round-length "> < span class =secno > 3.4. </ span > Rounding Down
156- to Multiple of Units: ‘< code class =css > *gd</ code > ’ and
157- ‘< code class =css > *em</ code > ’</ a >
156+ Lengths to Multiple of Units: ‘< code class =css > *gd</ code > ’
157+ and ‘< code class =css > *em</ code > ’</ a >
158158 </ ul >
159159
160160 < li > < a href ="#conformance "> < span class =secno > 4. </ span > Conformance</ a >
@@ -204,19 +204,24 @@ <h3 id=context><span class=secno>1.1. </span>Background</h3>
204204
205205 < li > Align lines between columns in multi-column documents.
206206
207+ < li > Make the top and the bottom margins of pictures equal, while keeping
208+ the vertical rhythm of text before and after the pictures.
209+
207210 < li > Layout lines at the same position in every page in paged media.
208211 Keeping the position of the bottom line of a page has benefits for design
209- and readability. This also results better readability on duplex printing,
210- two pages spreads, or when displaying on slow display devices like e-ink.
212+ and readability. This also improves the readability on duplex printing,
213+ two pages spreads, and when displaying on slow display devices like
214+ e-ink.
211215
212- < li > East Asian layouts require the use of vertical rhythm more often than
213- other scripts does, even in single column, non-paged media documents, as
216+ < li > East Asian layouts require vertical rhythm more often than other
217+ scripts does, even in single column, non-paged media documents, as
214218 defined in < a href ="#JLREQ " rel =biblioentry > [JLREQ]<!--{{JLREQ}}--> </ a > .
215219
216- < li > In East Asian documents, it is often desirable to make the line width
217- to be multiple of < em > em</ em > . Most East Asian characters have 1em
218- advance, and most East Asian documents are justified, so this minimizes
219- the case where justification needs to expand lines.
220+ < li > It is often desirable in East Asian layouts to make the line width to
221+ be multiple of < em > em</ em > without fractions. Since most East Asian
222+ characters have 1em advance, and since most East Asian documents are
223+ justified, this minimizes the case where justification needs to expand
224+ lines.
220225 </ ul >
221226
222227 < p > There are several types of objects in a document that can break the
@@ -237,12 +242,12 @@ <h3 id=context><span class=secno>1.1. </span>Background</h3>
237242
238243 < li > Controls how lines and blocks align to the grids.
239244
240- < li > Rounds lengths down to the mulitple of units.
245+ < li > Rounds lengths down to mulitple of units.
241246 </ ul >
242247
243248 < p > It is important to control these capabilities independently, so that
244- align to grids can be turned off for tables for example, but can be turned
245- back on for the following text to the original grids.
249+ aligning to grids can be turned off for tables for example, but can then
250+ be turned back on for the following text to the grids.
246251
247252 < h3 id =placement > < span class =secno > 1.2. </ span > Module Interactions</ h3 >
248253
@@ -354,8 +359,9 @@ <h3 id=layout-grid-line-prop><span class=secno>2.1. </span>Define Line
354359 module: text WD 20010517</ a > .
355360
356361 < p class =issue > Grid origin should be defined by the element that has this
357- property. In that case, should it inherit, or not inherit value but
358- inherit grid?
362+ property, similar to ‘< code class =css > display: static</ code > ’.
363+ In that case, should this property inherit, or not inherit the property
364+ but inherit grid?
359365
360366 < h2 id =using-grids > < span class =secno > 3. </ span > Using Grids</ h2 >
361367
@@ -517,10 +523,27 @@ <h3 id=grid-length-unit><span class=secno>3.3. </span>The ‘<code
517523
518524 < p class =issue > Just copied from old WD, need to refresh
519525
520- < h3 id =round-length > < span class =secno > 3.4. </ span > Rounding Down to Multiple
521- of Units: ‘< code class =css > < span class =index id =gd0 title ="length
522- unit::*gd "> *gd</ span > </ code > ’ and ‘< code class =css > < span
523- class =index id =em title ="length unit::*em "> *em</ span > </ code > ’</ h3 >
526+ < p class =issue > Use cases for non-East Asian layouts?
527+
528+ < div class =example id =gyou-dori >
529+ < p > East Asian layout often requires heights specified by multiple of the
530+ line grids. In Japanese, this method is called Gyou-dori. Refer to < a
531+ href ="#JLREQ " rel =biblioentry > [JLREQ]<!--{{JLREQ}}--> </ a > for more
532+ details of Gyou-dori.</ p >
533+
534+ < pre > < code class =css >
535+ <!-- --> h1 {
536+ <!-- --> line-grid-mode: block;
537+ <!-- --> min-height: 3gd;
538+ <!-- --> }
539+ <!-- --> </ code > </ pre >
540+ </ div >
541+
542+ < h3 id =round-length > < span class =secno > 3.4. </ span > Rounding Down Lengths to
543+ Multiple of Units: ‘< code class =css > < span class =index id =gd0
544+ title ="length unit::*gd "> *gd</ span > </ code > ’ and ‘< code
545+ class =css > < span class =index id =em title ="length
546+ unit::*em "> *em</ span > </ code > ’</ h3 >
524547
525548 < p > The ‘< code class =property > width</ code > ’ and ‘< code
526549 class =property > height</ code > ’ properties accept ‘< code
@@ -529,13 +552,35 @@ <h3 id=round-length><span class=secno>3.4. </span>Rounding Down to Multiple
529552 and then the result will be round down to the largest multiple of the
530553 specified unit that is equal to or less than the original computed value.
531554
532- < p > The fraction is distributed evenly to each side margins. If it is used
533- for ‘< code class =property > height</ code > ’, the half of fraction
534- is added to the top and bottom margins, and if for ‘< code
535- class =property > width</ code > ’, to the left and right margins.
555+ < p > The fraction is distributed evenly to the computed values of margins of
556+ each side. If it is used for ‘< code
557+ class =property > height</ code > ’, the half the fraction is added to the
558+ top and the bottom margins. If for ‘< code
559+ class =property > width</ code > ’, to the left and the right margins.
536560
537561 < p class =issue > Should this be a property instead?
538562
563+ < p class =issue > Should have an option to left/right align instead of center?
564+ Can author align running head and page numbers with body with this design?
565+
566+ < p class =issue > Use cases for non-East Asian layouts?
567+
568+ < div class =example >
569+ < p > It is often desirable for East Asian layouts to make the line width to
570+ be multiple of < em > em</ em > without fractions. Since most East Asian
571+ characters have 1em advance, and since most East Asian documents are
572+ justified, this minimizes the case where justification needs to expand
573+ lines.</ p >
574+
575+ < pre > < code class =css >
576+ <!-- --> body {
577+ <!-- --> margin: 3cm 3.5cm 3cm 3cm;
578+ <!-- --> text-align: justify;
579+ <!-- --> width: *em;
580+ <!-- --> }
581+ <!-- --> </ code > </ pre >
582+ </ div >
583+
539584 < h2 id =conformance > < span class =secno > 4. </ span > Conformance</ h2 >
540585
541586 < h3 id =conformance-classes > < span class =secno > 4.1. </ span > Conformance
0 commit comments