@@ -175,19 +175,19 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
175
175
class =secno > 3.4. </ span > Forcing Line Width to Multiple of
176
176
< em > em</ em > </ a >
177
177
< ul class =toc >
178
- < li > < a href ="#round-length "> < span class =secno > 3.4.1. </ span > Rounding
178
+ < li > < a href ="#character-grid-the-layout-grid-char-prop "> < span
179
+ class =secno > 3.4.1. </ span > Character Grid: the ‘< code
180
+ class =property > layout-grid-char</ code > ’ property</ a >
181
+
182
+ < li > < a href ="#round-length "> < span class =secno > 3.4.2. </ span > Rounding
179
183
Lengths to Multiple of Units: ‘< code
180
184
class =css > rounddown()</ code > ’ and ‘< code
181
185
class =css > roundup()</ code > ’ </ a >
182
186
183
187
< li > < a href ="#rounding-lengths-to-multiple-of-units-th "> < span
184
- class =secno > 3.4.2 . </ span > Rounding Lengths to Multiple of Units: the
188
+ class =secno > 3.4.3 . </ span > Rounding Lengths to Multiple of Units: the
185
189
‘< code class =property > layout-grid-measure</ code > ’
186
190
property</ a >
187
-
188
- < li > < a href ="#character-grid-the-layout-grid-char-prop "> < span
189
- class =secno > 3.4.3. </ span > Character Grid: the ‘< code
190
- class =property > layout-grid-char</ code > ’ property</ a >
191
191
</ ul >
192
192
</ ul >
193
193
@@ -283,8 +283,8 @@ <h3 id=context><span class=secno>1.1. </span>Background</h3>
283
283
</ div >
284
284
285
285
< div class =sidefigure id =ex-width > < img alt ="East Asian layouts may require
286
- width be a multiple of em without fractions " height =168
287
- src =width-multiple-of-em.png width =206 >
286
+ width be a multiple of em without fractions " height =142
287
+ src =width-multiple-of-em.png width =180 >
288
288
< p class =caption > East Asian layouts may require width be a multiple of
289
289
< em > em</ em > without fractions.</ p >
290
290
</ div >
@@ -420,6 +420,12 @@ <h3 id=layout-grid-line-prop><span class=secno>2.1. </span>Define Line
420
420
< p > This property defines a line grid for the element and its descendent
421
421
elements. Possible values are:
422
422
423
+ < p class =issue > An implementer said the grid's scope should be limited to
424
+ the same BFC, as referring property values and position of parent elements
425
+ could be difficult to implement if the element is in different BFC than
426
+ the parent. This can mean a float cannot share the grids with its parent,
427
+ which is not ideal. How can we solve this?
428
+
423
429
< dl >
424
430
< dt > < dfn id =none title ="layout-grid-line::none "> ‘< code
425
431
class =css > none</ code > ’</ dfn >
@@ -456,6 +462,8 @@ <h3 id=layout-grid-line-prop><span class=secno>2.1. </span>Define Line
456
462
class =css > vertical-rl</ code > ’, and the left of the element for
457
463
‘< code class =css > vertical-lr</ code > ’.
458
464
465
+ < p class =issue > Define behavior for paged media/column break
466
+
459
467
< p class =issue > TBD: I might need to copy more text from < a
460
468
href ="http://www.w3.org/TR/2001/WD-css3-text-20010517/#layout-grid-line-prop "> CSS3
461
469
module: text WD 20010517</ a > .
@@ -689,13 +697,79 @@ <h3 id=grid-length-unit><span class=secno>3.3. </span>The ‘<code
689
697
<!-- --> </ code > </ pre >
690
698
</ div >
691
699
700
+ < p class =issue > ‘< code class =css > gem</ code > ’ length unit is also
701
+ requested
702
+
692
703
< h3 id =forcing-line-width-to-multiple-of-em > < span class =secno > 3.4.
693
704
</ span > Forcing Line Width to Multiple of < em > em</ em > </ h3 >
694
705
695
- < p class =issue > There are multiple ideas for this, and all ideas are listed
696
- here for disucssions.
706
+ < p class =issue > There are 3 ideas for this, and all ideas are listed here
707
+ for disucssions.
708
+
709
+ < h4 id =character-grid-the-layout-grid-char-prop > < span class =secno > 3.4.1.
710
+ </ span > Character Grid: the ‘< a href ="#layout-grid-char "> < code
711
+ class =property > layout-grid-char</ code > </ a > ’ property</ h4 >
712
+
713
+ < table class =propdef >
714
+ < tbody >
715
+ < tr >
716
+ < th > Name:
717
+
718
+ < td > < dfn id =layout-grid-char > layout-grid-char</ dfn >
719
+
720
+ < tr >
721
+ < th > Value:
722
+
723
+ < td > none | auto | <length>
724
+
725
+ < tr >
726
+ < th > Initial:
727
+
728
+ < td > none
729
+
730
+ < tr >
731
+ < th > Applies to:
732
+
733
+ < td > block containers
734
+
735
+ < tr >
736
+ < th > Inherited:
737
+
738
+ < td > no
739
+
740
+ < tr >
741
+ < th > Percentages:
742
+
743
+ < td > N/A
744
+
745
+ < tr >
746
+ < th > Media:
747
+
748
+ < td > visual
749
+
750
+ < tr >
751
+ < th > Computed value:
752
+
753
+ < td > specified value
754
+ </ table >
755
+
756
+ < p > This property defines a character grid for the element. Possible values
757
+ are:
758
+
759
+ < p > When a character grid is defined, start and end edges of a line box snap
760
+ to the nearest grid in the direction to shorten the line box.
761
+
762
+ < div class =figure > < object data =line-length.svg height =158
763
+ type ="image/svg+xml " width =340 > </ object >
764
+ < p class =caption > The gray part of a line box is rounded down to snap to
765
+ the grid. The second line box has a float on the left (green), and
766
+ therefore its start edge snaps to the grid as well.</ p >
767
+ </ div >
768
+
769
+ < p class =issue > Should we add ‘< code class =css > edges</ code > ’ to
770
+ the ‘< code class =property > line-grid-mode</ code > ’ property?
697
771
698
- < h4 id =round-length > < span class =secno > 3.4.1 . </ span > Rounding Lengths to
772
+ < h4 id =round-length > < span class =secno > 3.4.2 . </ span > Rounding Lengths to
699
773
Multiple of Units: ‘< code class =css > < span class =index id =rounddown
700
774
title ="length unit::rounddown() "> rounddown()</ span > </ code > ’ and
701
775
‘< code class =css > < span class =index id =roundup title ="length
@@ -756,7 +830,7 @@ <h4 id=round-length><span class=secno>3.4.1. </span>Rounding Lengths to
756
830
<!-- --> </ code > </ pre >
757
831
</ div >
758
832
759
- < h4 id =rounding-lengths-to-multiple-of-units-th > < span class =secno > 3.4.2 .
833
+ < h4 id =rounding-lengths-to-multiple-of-units-th > < span class =secno > 3.4.3 .
760
834
</ span > Rounding Lengths to Multiple of Units: the ‘< a
761
835
href ="#layout-grid-measure "> < code
762
836
class =property > layout-grid-measure</ code > </ a > ’ property</ h4 >
@@ -804,66 +878,6 @@ <h4 id=rounding-lengths-to-multiple-of-units-th><span class=secno>3.4.2.
804
878
< td > specified value
805
879
</ table >
806
880
807
- < h4 id =character-grid-the-layout-grid-char-prop > < span class =secno > 3.4.3.
808
- </ span > Character Grid: the ‘< a href ="#layout-grid-char "> < code
809
- class =property > layout-grid-char</ code > </ a > ’ property</ h4 >
810
-
811
- < table class =propdef >
812
- < tbody >
813
- < tr >
814
- < th > Name:
815
-
816
- < td > < dfn id =layout-grid-char > layout-grid-char</ dfn >
817
-
818
- < tr >
819
- < th > Value:
820
-
821
- < td > none | auto | <length>
822
-
823
- < tr >
824
- < th > Initial:
825
-
826
- < td > none
827
-
828
- < tr >
829
- < th > Applies to:
830
-
831
- < td > block containers
832
-
833
- < tr >
834
- < th > Inherited:
835
-
836
- < td > no
837
-
838
- < tr >
839
- < th > Percentages:
840
-
841
- < td > N/A
842
-
843
- < tr >
844
- < th > Media:
845
-
846
- < td > visual
847
-
848
- < tr >
849
- < th > Computed value:
850
-
851
- < td > specified value
852
- </ table >
853
-
854
- < p > This property defines a character grid for the element. Possible values
855
- are:
856
-
857
- < p > When a character grid is defined, the start and end edge of a line box
858
- snap to the nearest grid in the direction to shorten the line box.
859
-
860
- < div class =figure > < object data =line-length.svg height =158
861
- type ="image/svg+xml " width =340 > </ object >
862
- < p class =caption > The gray part of a line box is rounded down to snap to
863
- the grid. The second line box has a float on the left (green), and
864
- therefore its start edge snaps to the grid as well.</ p >
865
- </ div >
866
-
867
881
< h2 id =conformance > < span class =secno > 4. </ span > Conformance</ h2 >
868
882
869
883
< h3 id =conformance-classes > < span class =secno > 4.1. </ span > Conformance
@@ -1084,7 +1098,7 @@ <h2 class=no-num id=index>Index</h2>
1084
1098
tool "> < strong > 4.1.</ strong > </ a >
1085
1099
1086
1100
< li > layout-grid-char, < a href ="#layout-grid-char "
1087
- title =layout-grid-char > < strong > 3.4.3 .</ strong > </ a >
1101
+ title =layout-grid-char > < strong > 3.4.1 .</ strong > </ a >
1088
1102
1089
1103
< li > layout-grid-line, < a href ="#layout-grid-line "
1090
1104
title =layout-grid-line > < strong > 2.1.</ strong > </ a >
@@ -1103,7 +1117,7 @@ <h2 class=no-num id=index>Index</h2>
1103
1117
</ ul >
1104
1118
1105
1119
< li > layout-grid-measure, < a href ="#layout-grid-measure "
1106
- title =layout-grid-measure > < strong > 3.4.2 .</ strong > </ a >
1120
+ title =layout-grid-measure > < strong > 3.4.3 .</ strong > </ a >
1107
1121
1108
1122
< li > layout-grid-mode, < a href ="#layout-grid-mode "
1109
1123
title =layout-grid-mode > < strong > 3.1.</ strong > </ a >
@@ -1126,8 +1140,8 @@ <h2 class=no-num id=index>Index</h2>
1126
1140
< li > gd, < a href ="#gd " title ="length unit, gd "> 3.3.</ a >
1127
1141
1128
1142
< li > rounddown(), < a href ="#rounddown " title ="length unit,
1129
- rounddown() "> 3.4.1 .</ a > , < a href ="#roundup " title ="length unit,
1130
- rounddown() "> 3.4.1 .</ a >
1143
+ rounddown() "> 3.4.2 .</ a > , < a href ="#roundup " title ="length unit,
1144
+ rounddown() "> 3.4.2 .</ a >
1131
1145
</ ul >
1132
1146
1133
1147
< li > renderer, < a href ="#renderer " title =renderer > < strong > 4.1.</ strong > </ a >
0 commit comments