diff --git a/css-text-4/Overview.bs b/css-text-4/Overview.bs index 3692e153e18..f41a3687d93 100644 --- a/css-text-4/Overview.bs +++ b/css-text-4/Overview.bs @@ -7462,6 +7462,34 @@ Line Breaking Strictness: the 'line-break' property (ตัวอย่าง·การ·เขียน·ภาษา·ไทย). +
!
) and
+ a letter ([=Unicode general category=] L
).
+ This prevents a break in the string “!important”.
+ - Not introducing a line break opportunity between
+ U+002F (Solidus, /
) and
+ a letter ([=Unicode general category=] L
).
+ This prevents a break in dates such as “23/Jan/2024”.
+ - Not introducing a line break opportunity between
+ U+007C (Vertical Line, |
) and
+ a letter ([=Unicode general category=] L
).
+ - Not introducing a line break opportunity between
+ U+002D (Hyphen-Minus `-`) and
+ a digit ([=Unicode general category=] Nd
)
+ if the codepoint prior to the hyphen was _not_ a letter or digit
+ ([=Unicode general category=] L
or Nd
).
+ This prevents breaking after the minus sign before a number
+ such as in “-13”
+ whilst allowing breaks after the hyphen in “ABCD-1234” and “1234-5678”
+ which may appear in long URLs, for example.
+