@@ -421,24 +421,27 @@ First Letters and Associated Punctuation</h4>
421
421
<li>
422
422
All punctuation--
423
423
i.e, characters that belong to the Punctuation (<code> P*</code> ) <a>Unicode general category</a> [[!UAX44]] --
424
- that precedes the [=first letter=] .
424
+ that precedes the [=first letter=] ,
425
+ as well as any intervening typographic space--
426
+ characters belonging to the <code> Zs</code> Unicode general category [[!UAX44]]
427
+ <em> other than</em>
428
+ U+3000 IDEOGRAPHIC SPACE.
425
429
<li>
426
430
Any punctuation other than opening punctuation and dashes--
427
431
i.e. characters that belong to the Punctuation (<code> P*</code> ) <a>Unicode general category</a> ,
428
432
excluding Open Punctuation (<code> Ps</code> )
429
433
and Dash Punctuation (<code> Pd</code> )--
430
- that follows the [=first letter=] .
431
- <li>
432
- Any intervening typographic space--
433
- i.e. characters that belong to the <code> Zs</code> Unicode general category [[!UAX44]] --
434
+ that follows the [=first letter=] ,
435
+ as well as any intervening typographic space--
436
+ characters belonging to the <code> Zs</code> Unicode general category [[!UAX44]]
434
437
<em> other than</em>
435
- U+3000 IDEOGRAPHIC SPACE.
438
+ U+3000 IDEOGRAPHIC SPACE or a [=word separator=] .
436
439
</ul>
437
440
438
441
<div class="note">
439
442
Informally, the [=first-letter text=] ’s pattern here
440
443
can be roughly
441
- (ignoring the exclusion from <code> Zs</code> )
444
+ (ignoring the exclusions from <code> Zs</code> )
442
445
represented as a “regular expression”
443
446
<code highlight="bnf" style="font-family: inherit">
444
447
(P (Zs|P)*)? (L|N|S) ((Zs|P−(Ps|Pd))* (P−(Ps|Pd))?</code> --
@@ -1882,7 +1885,8 @@ Changes</h2>
1882
1885
and <a href="https://github.com/w3c/csswg-drafts/issues/10213">10213</a> )
1883
1886
<li> Added ''::details-content'' pseudo-element
1884
1887
(<a href="https://github.com/w3c/csswg-drafts/pull/10379">Issue 10379</a> )
1885
- <li> Allow space and no-break space to be part of ''::first-letter'' .
1888
+ <li> Allow space and no-break space to be part of ''::first-letter''
1889
+ when occuring before the [=first letter=] .
1886
1890
(<a href="https://github.com/w3c/csswg-drafts/issues/9413">Issue 9413</a> )
1887
1891
<li> Renamed ''::postfix'' to ''::suffix'' .
1888
1892
(Issue <a href="https://github.com/w3c/csswg-drafts/issues/11949">Issue 11949</a> )
0 commit comments