Skip to content

Commit 87a4192

Browse files
committed
[css-text-4] Tweak how virtual word boundaries prohibitions are set
Set character-based virtual-word-boundary prohibitions based on UAX 14 classes rather than unicode General Caterogies.
1 parent e1af92b commit 87a4192

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

css-text-4/Overview.bs

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -302,13 +302,31 @@ Detecting Word Boundaries: the 'word-boundary-detection' property</h4>
302302
where words are separated by spaces or other separating characters,
303303
''word-boundary-detection/auto(<lang>)'' has no effect.
304304
305+
<li>
306+
between characters that compose a single [=typographic character unit=].
307+
308+
<li>
309+
between a [=typographic letter unit=]
310+
and a subsequent [=typographic character unit=] from the [[!UAX14]] CL, CP, IS, or EX line break classes,
311+
312+
<li>
313+
between a [=typographic letter unit=]
314+
and a preceeding [=typographic character unit=] from the [[!UAX14]] OP line break class,
315+
316+
<li>
317+
between a [=typographic letter unit=]
318+
and an adjacent [=typographic character unit=] from the [[!UAX14]] GL, WJ, or ZWJ line break classes.
319+
</ul>
320+
321+
The User Agent should not insert a [=virtual word boundary=]:
322+
<ul>
323+
<li>
324+
between a [=typographic letter unit=]
325+
and a subsequent [=typographic character unit=] from the [[!UAX14]] PO, NS line break classes,
326+
305327
<li>
306328
between a [=typographic letter unit=]
307-
and a subsequent [=typographic character unit=] from the [[!UNICODE]] Pe or Pf classes,
308-
or between a [=typographic letter unit=]
309-
and a preceeding [=typographic character unit=] from the [[!UNICODE]] Ps or Pi classes,
310-
or between a [=typographic letter unit=]
311-
and an adjacent [=typographic character unit=] from the [[!UNICODE]] Pc or Pd or Po classes.
329+
and a preceeding [=typographic character unit=] from the [[!UAX14]] PR line break class,
312330
</ul>
313331
314332
<h4 id=word-boundary-expansion>

0 commit comments

Comments
 (0)