Skip to content

Commit 0c9f276

Browse files
committed
[css-text-3][css-text-4] Disallow breaks before small kana for line-break:normal #10363
1 parent 4723c21 commit 0c9f276

2 files changed

Lines changed: 59 additions & 69 deletions

File tree

css-text-3/Overview.bs

Lines changed: 31 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3925,40 +3925,6 @@ Line Breaking Strictness: the 'line-break' property</h3>
39253925
However, for these three keywords, this specification does require that:
39263926

39273927
<ul>
3928-
<li>
3929-
The following breaks are forbidden in ''strict'' line breaking
3930-
and allowed in ''line-break/normal'' and ''loose'':
3931-
3932-
<ul>
3933-
<li>
3934-
breaks before Japanese small kana
3935-
or the Katakana-Hiragana prolonged sound mark,
3936-
i.e. characters
3937-
from the Unicode line breaking class <code>CJ</code>.
3938-
[[!UAX14]]
3939-
3940-
<wpt>
3941-
line-break/line-break-loose-011.xht
3942-
line-break/line-break-loose-012.xht
3943-
line-break/line-break-normal-011.xht
3944-
line-break/line-break-normal-012.xht
3945-
line-break/line-break-strict-011.xht
3946-
line-break/line-break-strict-012.xht
3947-
i18n/ja/css-text-line-break-ja-cj-loose.html
3948-
i18n/ja/css-text-line-break-ja-cj-normal.html
3949-
i18n/ja/css-text-line-break-ja-cj-strict.html
3950-
i18n/zh/css-text-line-break-zh-cj-loose.html
3951-
i18n/zh/css-text-line-break-zh-cj-normal.html
3952-
i18n/zh/css-text-line-break-zh-cj-strict.html
3953-
i18n/other-lang/css-text-line-break-de-cj-loose.html
3954-
i18n/other-lang/css-text-line-break-de-cj-normal.html
3955-
i18n/other-lang/css-text-line-break-de-cj-strict.html
3956-
i18n/unknown-lang/css-text-line-break-cj-loose.html
3957-
i18n/unknown-lang/css-text-line-break-cj-normal.html
3958-
i18n/unknown-lang/css-text-line-break-cj-strict.html
3959-
</wpt>
3960-
</ul>
3961-
39623928
<li>
39633929
The following breaks are allowed for ''line-break/normal''
39643930
and ''loose'' line breaking
@@ -4024,6 +3990,34 @@ Line Breaking Strictness: the 'line-break' property</h3>
40243990
and allowed in ''loose'':
40253991

40263992
<ul>
3993+
<li>
3994+
breaks before Japanese small kana
3995+
or the Katakana-Hiragana prolonged sound mark,
3996+
i.e. characters
3997+
from the Unicode line breaking class <code>CJ</code>.
3998+
[[!UAX14]]
3999+
4000+
<wpt>
4001+
line-break/line-break-loose-011.xht
4002+
line-break/line-break-loose-012.xht
4003+
line-break/line-break-normal-011.xht
4004+
line-break/line-break-normal-012.xht
4005+
line-break/line-break-strict-011.xht
4006+
line-break/line-break-strict-012.xht
4007+
i18n/ja/css-text-line-break-ja-cj-loose.html
4008+
i18n/ja/css-text-line-break-ja-cj-normal.html
4009+
i18n/ja/css-text-line-break-ja-cj-strict.html
4010+
i18n/zh/css-text-line-break-zh-cj-loose.html
4011+
i18n/zh/css-text-line-break-zh-cj-normal.html
4012+
i18n/zh/css-text-line-break-zh-cj-strict.html
4013+
i18n/other-lang/css-text-line-break-de-cj-loose.html
4014+
i18n/other-lang/css-text-line-break-de-cj-normal.html
4015+
i18n/other-lang/css-text-line-break-de-cj-strict.html
4016+
i18n/unknown-lang/css-text-line-break-cj-loose.html
4017+
i18n/unknown-lang/css-text-line-break-cj-normal.html
4018+
i18n/unknown-lang/css-text-line-break-cj-strict.html
4019+
</wpt>
4020+
40274021
<li>
40284022
breaks before iteration marks:<br>
40294023
&#x3005;&nbsp;U+3005, &#x303B;&nbsp;U+303B, &#x309D;&nbsp;U+309D,
@@ -8413,8 +8407,10 @@ Recent Changes</h3>
84138407

84148408
The following changes have been made since
84158409
the <a href="https://www.w3.org/TR/2024/CRD-css-text-3-20240930/">September 2024 Candidate Recommendation Draft</a>:
8410+
* Disallowed breaks before small kana in ''line-break: normal''.
8411+
(<a href="https://github.com/w3c/csswg-drafts/issues/10363">Issue 10363</a>)
84168412
* Backported <code>hanging-punctuation: none</code> rule to [[#default-stylesheet]] from Level 4.
8417-
* Synchronization with Level 4 editorial changes.
8413+
* Synchronized text with Level 4 editorial changes.
84188414

84198415
The following normative changes have been made since
84208416
the <a href="https://www.w3.org/TR/2023/CRD-css-text-3-20230903/">September 2023 Candidate Recommendation Draft</a>:

css-text-4/Overview.bs

Lines changed: 28 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -7065,40 +7065,6 @@ Line Breaking Strictness: the 'line-break' property</h3>
70657065
However, for these three keywords, this specification does require that:
70667066

70677067
<ul>
7068-
<li>
7069-
The following breaks are forbidden in ''strict'' line breaking
7070-
and allowed in ''line-break/normal'' and ''loose'':
7071-
7072-
<ul>
7073-
<li>
7074-
breaks before Japanese small kana
7075-
or the Katakana-Hiragana prolonged sound mark,
7076-
i.e. characters
7077-
from the Unicode line breaking class <code>CJ</code>.
7078-
[[!UAX14]]
7079-
7080-
<wpt>
7081-
line-break/line-break-loose-011.xht
7082-
line-break/line-break-loose-012.xht
7083-
line-break/line-break-normal-011.xht
7084-
line-break/line-break-normal-012.xht
7085-
line-break/line-break-strict-011.xht
7086-
line-break/line-break-strict-012.xht
7087-
i18n/ja/css-text-line-break-ja-cj-loose.html
7088-
i18n/ja/css-text-line-break-ja-cj-normal.html
7089-
i18n/ja/css-text-line-break-ja-cj-strict.html
7090-
i18n/zh/css-text-line-break-zh-cj-loose.html
7091-
i18n/zh/css-text-line-break-zh-cj-normal.html
7092-
i18n/zh/css-text-line-break-zh-cj-strict.html
7093-
i18n/other-lang/css-text-line-break-de-cj-loose.html
7094-
i18n/other-lang/css-text-line-break-de-cj-normal.html
7095-
i18n/other-lang/css-text-line-break-de-cj-strict.html
7096-
i18n/unknown-lang/css-text-line-break-cj-loose.html
7097-
i18n/unknown-lang/css-text-line-break-cj-normal.html
7098-
i18n/unknown-lang/css-text-line-break-cj-strict.html
7099-
</wpt>
7100-
</ul>
7101-
71027068
<li>
71037069
The following breaks are allowed for ''line-break/normal''
71047070
and ''loose'' line breaking
@@ -7164,6 +7130,34 @@ Line Breaking Strictness: the 'line-break' property</h3>
71647130
and allowed in ''loose'':
71657131

71667132
<ul>
7133+
<li>
7134+
breaks before Japanese small kana
7135+
or the Katakana-Hiragana prolonged sound mark,
7136+
i.e. characters
7137+
from the Unicode line breaking class <code>CJ</code>.
7138+
[[!UAX14]]
7139+
7140+
<wpt>
7141+
line-break/line-break-loose-011.xht
7142+
line-break/line-break-loose-012.xht
7143+
line-break/line-break-normal-011.xht
7144+
line-break/line-break-normal-012.xht
7145+
line-break/line-break-strict-011.xht
7146+
line-break/line-break-strict-012.xht
7147+
i18n/ja/css-text-line-break-ja-cj-loose.html
7148+
i18n/ja/css-text-line-break-ja-cj-normal.html
7149+
i18n/ja/css-text-line-break-ja-cj-strict.html
7150+
i18n/zh/css-text-line-break-zh-cj-loose.html
7151+
i18n/zh/css-text-line-break-zh-cj-normal.html
7152+
i18n/zh/css-text-line-break-zh-cj-strict.html
7153+
i18n/other-lang/css-text-line-break-de-cj-loose.html
7154+
i18n/other-lang/css-text-line-break-de-cj-normal.html
7155+
i18n/other-lang/css-text-line-break-de-cj-strict.html
7156+
i18n/unknown-lang/css-text-line-break-cj-loose.html
7157+
i18n/unknown-lang/css-text-line-break-cj-normal.html
7158+
i18n/unknown-lang/css-text-line-break-cj-strict.html
7159+
</wpt>
7160+
71677161
<li>
71687162
breaks before iteration marks:<br>
71697163
&#x3005;&nbsp;U+3005, &#x303B;&nbsp;U+303B, &#x309D;&nbsp;U+309D,

0 commit comments

Comments
 (0)