Skip to content

Commit 28c9d80

Browse files
committed
[css-text-4] Clarify issues on text-align: <string>.
1 parent 185a209 commit 28c9d80

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

css-text-4/Overview.bs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,10 @@ Character-based Alignment in a Table Column</h3>
755755
but that (or a different behavior) needs to be specified,
756756
to describe what happens
757757
when different occurrences of the alignment character
758-
are in different fonts.</p>
758+
are in different fonts.
759+
(Further, is that the intended behavior? Probably the most
760+
significant use case to consider is bold vs. non-bold text,
761+
which only varies slightly in width.)</p>
759762

760763
<div class="example">
761764

@@ -853,10 +856,14 @@ Character-based Alignment in a Table Column</h3>
853856

854857
<p class="issue">This behavior of aligning as though
855858
the alignment character had been inserted at the end of
856-
the contents of the cell,
859+
the contents of the cell,
857860
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 &lt;string&gt; text-alignment.
861+
will produce gaps on the end-side of lines
862+
that are alone on a line with &lt;string&gt; text-alignment,
863+
when none of the lines of the column has the alignment character,
864+
or, more importantly, when some of the lines
865+
do have the alignment character,
866+
but the column is not laid out at its max-content width.
860867
This is probably undesirable.</p>
861868

862869
<p class="issue">When the alignment character is inserted at

0 commit comments

Comments
 (0)