Skip to content

Commit 95bd1da

Browse files
committed
Updated examle for rounding length
1 parent f1345c5 commit 95bd1da

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

css-line-grid/Overview.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,8 @@ <h3 id=round-length><span class=secno>3.4. </span>Rounding Lengths to
705705

706706
<p class=issue>Is this design appropriate to solve text with floats case?
707707

708+
<p class=issue>Are there requirements for table cell width?
709+
708710
<p class=issue>Should have an option to left/right align instead of center?
709711
Can author align running head and page numbers with body with this design?
710712

@@ -720,7 +722,11 @@ <h3 id=round-length><span class=secno>3.4. </span>Rounding Lengths to
720722
<!-- -->body {
721723
<!-- --> margin: 3cm 3.5cm 3cm 3cm;
722724
<!-- --> text-align: justify;
723-
<!-- --> width: *em;
725+
<!-- --> width: rounddown(1em);
726+
<!-- -->}
727+
<!-- -->.sidefigure {
728+
<!-- --> float: right;
729+
<!-- --> width: roundup(1em);
724730
<!-- -->}
725731
<!-- --></code></pre>
726732
</div>

css-line-grid/Overview.src.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ <h3 id="round-length">Rounding Lengths to Multiple of Units:
514514

515515
<p class="issue">Should this be a property instead?</p>
516516
<p class="issue">Is this design appropriate to solve text with floats case?</p>
517+
<p class="issue">Are there requirements for table cell width?</p>
517518
<p class="issue">Should have an option to left/right align instead of center?
518519
Can author align running head and page numbers with body with this design?</p>
519520
<p class="issue">Use cases for non-East Asian layouts?</p>
@@ -529,7 +530,11 @@ <h3 id="round-length">Rounding Lengths to Multiple of Units:
529530
<!-- -->body {
530531
<!-- --> margin: 3cm 3.5cm 3cm 3cm;
531532
<!-- --> text-align: justify;
532-
<!-- --> width: *em;
533+
<!-- --> width: rounddown(1em);
534+
<!-- -->}
535+
<!-- -->.sidefigure {
536+
<!-- --> float: right;
537+
<!-- --> width: roundup(1em);
533538
<!-- -->}
534539
<!-- --></code></pre>
535540
</div>

0 commit comments

Comments
 (0)