@@ -7462,6 +7462,34 @@ Line Breaking Strictness: the 'line-break' property</h3>
74627462 (ตัวอย่าง·การ·เขียน·ภาษา·ไทย).
74637463 </div>
74647464
7465+ <div class=note>
7466+ Note: While user agents can refer to [[!UAX14]] as a starting point
7467+ for their line-breaking implementation,
7468+ the following deviations could be desirable
7469+ for maximum interoperability with existing implementations:
7470+
7471+ - Not introducing a line break opportunity between
7472+ U+0021 (Exclamation Mark, <code> !</code> ) and
7473+ a letter ([=Unicode general category=] <code> L</code> ).
7474+ This prevents a break in the string “!important”.
7475+ - Not introducing a line break opportunity between
7476+ U+002F (Solidus, <code> /</code> ) and
7477+ a letter ([=Unicode general category=] <code> L</code> ).
7478+ This prevents a break in dates such as “23/Jan/2024”.
7479+ - Not introducing a line break opportunity between
7480+ U+007C (Vertical Line, <code> |</code> ) and
7481+ a letter ([=Unicode general category=] <code> L</code> ).
7482+ - Not introducing a line break opportunity between
7483+ U+002D (Hyphen-Minus `-`) and
7484+ a digit ([=Unicode general category=] <code> Nd</code> )
7485+ if the codepoint prior to the hyphen was _not_ a letter or digit
7486+ ([=Unicode general category=] <code> L</code> or <code> Nd</code> ).
7487+ This prevents breaking after the minus sign before a number
7488+ such as in “-13”
7489+ whilst allowing breaks after the hyphen in “ABCD-1234” and “1234-5678”
7490+ which may appear in long URLs, for example.
7491+ </div>
7492+
74657493 Note: The CSSWG recognizes that in a future edition of the specification
74667494 finer control over line breaking may be necessary
74677495 to satisfy high-end publishing requirements.
0 commit comments