@@ -749,6 +749,14 @@ Character-based Alignment in a Table Column</h3>
749749 shifted accordingly. (Note that the strings do not have to be the same
750750 for each cell, although they usually are.)
751751
752+ <p class="issue"> Is this intended to say that it's the centers
753+ of the alignment characters that should be aligned?
754+ It's not clear that's what it says,
755+ but that (or a different behavior) needs to be specified,
756+ to describe what happens
757+ when different occurrences of the alignment character
758+ are in different fonts.</p>
759+
752760 <div class="example">
753761
754762 The following style sheet:
@@ -834,13 +842,81 @@ Character-based Alignment in a Table Column</h3>
834842 in a cell at all, the string is aligned as if the alignment character had
835843 been inserted at the end of its contents.
836844
845+ <p class="issue"> This needs to specify what text is searched
846+ for the alignment character.
847+ Is it only in-flow text whose containing block is the cell?
848+ Or is text within any in-flow descendants
849+ in the block formatting context established by the cell considered?
850+ If so, is it considered only as long as its text-align property
851+ is consistent with the cell's?
852+ (Consistent in the alignment character, or fully consistent?)</p>
853+
854+ <p class="issue"> This behavior of aligning as though
855+ the alignment character had been inserted at the end of
856+ the contents of the cell,
857+ combined with center-of-character alignment,
858+ will produce gaps on the end-side of any replaced elements
859+ that are alone on a line with <string> text-alignment.
860+ This is probably undesirable.</p>
861+
862+ <p class="issue"> When the alignment character is inserted at
863+ the end of the contents, which font is used?
864+ (In particular, if the alignment character might be within
865+ a descendant block, is it the font of the block or
866+ the font of the table cell?
867+ Or if the insertion is at a forced break within an inline,
868+ does it use the font of the inline or the font of the block or cell?)
869+ </p>
870+
837871 Character-based alignment occurs before table cell width computation so
838872 that auto width computations can leave enough space for alignment.
839873 Whether column-spanning cells participate in the alignment prior to
840874 or after width computation is undefined.
841875 If width constraints on the cell contents prevent full alignment
842876 throughout the column, the resulting alignment is undefined.
843877
878+ <p class="issue"> This should have a formal definition
879+ of how character alignment affects
880+ the min-content and max-content intrinsic widths
881+ (of table columns and all content that can be inside table columns).
882+ Max-content intrinsic widths need to be split
883+ into three numbers (assuming that it's the centers of the
884+ alignment character that are aligned):
885+ one for widths without alignment characters,
886+ one for widths on the inline-start side
887+ of the center of the alignment character,
888+ one for widths on the inline-end side
889+ of the center of the alignment character.
890+ This operates based on all segments of text
891+ between forced breaks for max-content widths.
892+ For min-content widths, segments of text between forced breaks
893+ that contain optional breaks within them should clearly contribute
894+ only to the without-alignment-character width.
895+ However, it's less clear
896+ whether all min-content widths should work this way,
897+ or whether segments between forced breaks
898+ that do not have optional breaks
899+ (and perhaps only those that actually contain the alignment character)
900+ should contribute to start-side-of-alignment-character
901+ and end-side-of-alignment-character min-content widths instead;
902+ this choice is a tradeoff between the meaning of min-content
903+ sizing of a table meaning the narrowest reasonable size versus
904+ honoring alignment characters in more cases.
905+ Another option might be to use whether line-breaking of optional breaks
906+ is allowed as a control for which behavior to use.</p>
907+
908+ <p class="issue"> Formally defining the intrinsic width contributions
909+ of column-spanning cells with <string> values of
910+ text-align is a complicated (although straightforward) extension
911+ of the decisions made for intrinsic width contributions
912+ of non-column-spanning cells;
913+ this should also be formally defined.
914+ Contributions end up being made to the split intrinsic widths
915+ of the startmost or endmost column (whichever is used for alignment),
916+ and to the without-alignment-character intrinsic widths
917+ of the other spanned columns.</p>
918+
919+
844920
845921<h2 id="spacing">
846922Spacing</h2>
0 commit comments