Skip to content

Commit e41d224

Browse files
committed
[css-text-3] Reword “hanging” definitions to be a little more generic, since we're now also hanging spaces. w3c#3784
1 parent efd8e5e commit e41d224

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

css-text-3/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3831,7 +3831,7 @@ Cursive Scripts</h4>
38313831
<p class="note">Note: If there is not sufficient padding on the
38323832
block container, 'hanging-punctuation' can trigger overflow.</p>
38333833

3834-
<p>When a punctuation mark <dfn lt="hang">hangs</dfn>, it is not considered
3834+
<p>When a glyph <dfn lt="hang">hangs</dfn>, it is not considered
38353835
when measuring the line's contents for fit, alignment, or justification.
38363836
Depending on the line's alignment/justification, this can
38373837
result in the mark being placed outside the line box.
@@ -3885,15 +3885,15 @@ Cursive Scripts</h4>
38853885
does not <a>hang</a> at the end edge of a line.
38863886
At most one punctuation character may <a>hang</a> at each edge of the line.
38873887

3888-
<p>A <a lt=hang>hanging</a> punctuation mark
3888+
<p>A <a lt=hang>hanging</a> mark
38893889
is still enclosed inside its parent inline box,
38903890
is still counted as part of the <a>scrollable overflow region</a> [[!CSS-OVERFLOW-3]],
38913891
and still participates in text justification:
38923892
its character advance is just not measured when determining
38933893
how much content fits on the line,
38943894
how much the line's contents need to be expanded or compressed for justification,
38953895
or how to position the content within the line box for text alignment.
3896-
Effectively, the <a>hanging</a> punctuation mark’s character advance
3896+
Effectively, the <a>hanging</a> glyph character advance
38973897
is re-interpreted as an additional negative margin
38983898
on the affected edge of its parent <a>inline box</a>;
38993899
the line is otherwise laid out as usual.

0 commit comments

Comments
 (0)