Skip to content

Commit 34feda5

Browse files
committed
[css-text-3] Move WJ/ZW/GL rule from 'wrap' value to apply to all wrapping values.
1 parent a9d9a34 commit 34feda5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

css-text-4/Overview.bs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,6 @@ Text Wrap Settings: the 'text-wrap' property</h3>
190190
at allowed <a>soft wrap opportunities</a>,
191191
as determined by the line-breaking rules in effect
192192
in order to minimize <a>inline-axis</a> overflow.
193-
Line breaking behavior defined
194-
for the WJ, ZW, and GL line-breaking classes
195-
in [[!UAX14]] must be honored.
196193

197194
The exact algorithm is UA-defined.
198195
The algorithm may consider multiple lines when making break decisions.
@@ -246,6 +243,10 @@ Text Wrap Settings: the 'text-wrap' property</h3>
246243
line-breaking behavior defined
247244
for the BK, CR, LF, CM, NL, and SG line breaking classes
248245
in [[!UAX14]] must be honored.
246+
Additionally, if wrapping is allowed (i.e. 'text-wrap' is not ''text-wrap/none''),
247+
line breaking behavior defined
248+
for the WJ, ZW, and GL line-breaking classes
249+
in [[!UAX14]] must be honored.
249250

250251
UAs that allow breaks at punctuation other than spaces
251252
should prioritize breakpoints.

0 commit comments

Comments
 (0)