Skip to content

Commit 2cfcf43

Browse files
committed
[css-text-3] Change line-breaking for Line breaking for U+2010, U+2013
Closes w3c#4419
1 parent f8659c9 commit 2cfcf43

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

css-text-3/Overview.bs

+26-2
Original file line numberDiff line numberDiff line change
@@ -2612,6 +2612,9 @@ Line Breaking Details</h3>
26122612
white-space/break-spaces-before-first-char-005.html
26132613
white-space/break-spaces-before-first-char-006.html
26142614
overflow-wrap/overflow-wrap-anywhere-006.html
2615+
line-break/line-break-loose-hyphens-002.html
2616+
line-break/line-break-normal-hyphens-002.html
2617+
line-break/line-break-strict-hyphens-002.html
26152618
</wpt>
26162619

26172620
Note: This value does not affect
@@ -2942,8 +2945,8 @@ Line Breaking Details</h3>
29422945
if the <a>writing system</a> is <a for=writing-system>Chinese</a> or <a for=writing-system>Japanese</a>,
29432946
and are otherwise forbidden:
29442947
<ul>
2945-
<li>breaks before hyphens:<br>
2946-
&#x2010;&nbsp;U+2010, &#x2013;&nbsp;U+2013, &#x301C;&nbsp;U+301C,
2948+
<li>breaks before certain CJK hyphen-like characters:<br>
2949+
&#x301C;&nbsp;U+301C,
29472950
&#x30A0;&nbsp;U+30A0
29482951

29492952
<wpt>
@@ -2965,6 +2968,27 @@ Line Breaking Details</h3>
29652968
writing-system/writing-system-line-break-001.html
29662969
</wpt>
29672970
</ul>
2971+
<li>
2972+
The following breaks are allowed for ''loose'' line breaking
2973+
if the preceding character belongs to the ID Unicode line breaking class [[!UAX14]]
2974+
(including when the preceding character is treated as ID due to ''word-break: break-all''),
2975+
and are otherwise forbidden:
2976+
<ul>
2977+
<li>breaks before hyphens:<br>
2978+
&#x2010;&nbsp;U+2010, &#x2013;&nbsp;U+2013
2979+
2980+
<wpt>
2981+
line-break/line-break-loose-hyphens-001.html
2982+
line-break/line-break-normal-hyphens-001.html
2983+
line-break/line-break-strict-hyphens-001.html
2984+
line-break/line-break-loose-hyphens-002.html
2985+
line-break/line-break-normal-hyphens-002.html
2986+
line-break/line-break-strict-hyphens-002.html
2987+
line-break/line-break-loose-hyphens-003.html
2988+
line-break/line-break-normal-hyphens-003.html
2989+
line-break/line-break-strict-hyphens-003.html
2990+
</wpt>
2991+
</ul>
29682992
<li>
29692993
The following breaks are forbidden for ''line-break/normal'' and ''strict'' line breaking
29702994
and allowed in ''loose'':

0 commit comments

Comments
 (0)