Skip to content

Commit 4e4398b

Browse files
committed
[css-text] Clarify interaction between conditionally and unconditionally hanging
See #9724
1 parent 5904384 commit 4e4398b

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

css-text-3/Overview.bs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7117,6 +7117,13 @@ Hanging Glyphs</h3>
71177117
white-space/white-space-intrinsic-size-017.html
71187118
</wpt>
71197119

7120+
When conditionally hangable glyphs at the end of the line
7121+
are immediately preceded by (unconditionally) hangable glyphs,
7122+
the unconditionally hangable glyphs hang
7123+
if and only if all subsequent conditionally hangable glyphs do indeed hang;
7124+
otherwise, the (unconditionally) hangable glyphs are effectively not at the end of the line
7125+
and do not hang.
7126+
71207127
Non-zero inline-axis borders or padding between
71217128
a [=hang=]able glyph and the edge of the line prevent the glyph from hanging.
71227129
For example, a period at the end of an inline box with end padding
@@ -8435,6 +8442,9 @@ Recent Changes</h3>
84358442
rather than mentioning ''vertical-align/baseline'' specifically,
84368443
to avoid confusion given further developments to 'vertical-align'.
84378444
(<a href="https://github.com/w3c/csswg-drafts/issues/13277">Issue 13277</a>)
8445+
* Clarified the interaction between conditionally and unconditionally hangable glyphs
8446+
at the end of a line.
8447+
(<a href="https://github.com/w3c/csswg-drafts/issues/9724">Issue 9724</a>)
84388448

84398449
The following changes have been made since
84408450
the <a href="https://www.w3.org/TR/2024/CRD-css-text-3-20240930/">September 2024 Candidate Recommendation Draft</a>:

css-text-4/Overview.bs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11866,6 +11866,13 @@ Hanging Glyphs</h3>
1186611866
white-space/white-space-intrinsic-size-017.html
1186711867
</wpt>
1186811868

11869+
When conditionally hangable glyphs at the end of the line
11870+
are immediately preceded by (unconditionally) hangable glyphs,
11871+
the unconditionally hangable glyphs hang
11872+
if and only if all subsequent conditionally hangable glyphs do indeed hang;
11873+
otherwise, the (unconditionally) hangable glyphs are effectively not at the end of the line
11874+
and do not hang.
11875+
1186911876
Non-zero inline-axis borders or padding between
1187011877
a [=hang=]able glyph and the edge of the line prevent the glyph from hanging.
1187111878
For example, a period at the end of an inline box with end padding

0 commit comments

Comments
 (0)