Skip to content

Commit 394ef98

Browse files
committed
Allow hyphenation points to affect min-content sizing; since this limits the minimum in shrink-to-fit, this is important for long-word languages like German. Feedback from Jonathan Kew. See <https://bugzilla.mozilla.org/show_bug.cgi?id=418975>
1 parent d4e9199 commit 394ef98

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

css3-text/Overview.src.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,8 +1004,11 @@ <h2 id="hyphenation">Hyphenation</h2>
10041004

10051005
<p>Hyphenation is controlled with the 'hyphens' property.
10061006

1007-
<p>Hyphenation opportunities are not considered when calculating
1007+
<p>Hyphenation opportunities <em>are</em> considered when calculating
10081008
''min-content'' intrinsic sizes.
1009+
<!-- This is because it allows tables to hyphenate instead of overflowing,
1010+
which is particularly important in long-word languages like German.
1011+
https://bugzilla.mozilla.org/show_bug.cgi?id=418975 -->
10091012

10101013
<h3 id="hyphens">Hyphenation Control: the 'hyphens' property</h3>
10111014

0 commit comments

Comments
 (0)