Skip to content

Commit 0d78686

Browse files
committed
[css-text-3] Require line breaks anywhere if lexical resource for breaking is missing. #4284
1 parent 921944a commit 0d78686

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

css-text-3/Overview.bs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2360,6 +2360,20 @@ Line Breaking Details</h3>
23602360
the break occurs immediately before/after the box (at its margin edge)
23612361
rather than breaking the box between its content edge and the content.
23622362
<li>Line breaking in/around Ruby is defined in <a href="https://www.w3.org/TR/css-ruby-1/#line-breaks">CSS Ruby</a> [[!CSS-RUBY-1]].
2363+
<li>In order to avoid unexpected overflow,
2364+
if the User Agent is unable to perform the requisite lexical or orthographic analysis
2365+
for line breaking any [=content language=] that requires it--
2366+
for example due to lacking a dictionary for certain languages--
2367+
it must assume a [=soft wrap opportunity=]
2368+
between pairs of [=typographic letter units=] in that writing system.
2369+
2370+
Note: This provision is not triggered merely when
2371+
the UA fails to find a word boundary in a particular text run;
2372+
the text run may well be a single unbreakable word.
2373+
It applies for example
2374+
when a text run is composed of Khmer characters (U+1780 to U+17FF)
2375+
if the User Agent does not know how to determine
2376+
word boundaries in Khmer.
23632377
</ul>
23642378

23652379
<h3 id="word-break-property" caniuse="word-break" oldids="word-break">

0 commit comments

Comments
 (0)