Skip to content

Commit cba50c5

Browse files
committed
[css-pseudo-4] Allow U+0020 and U+00A0 in ::first-letter #9413
1 parent 3f31156 commit cba50c5

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

css-pseudo-4/Overview.bs

+7-6
Original file line numberDiff line numberDiff line change
@@ -430,17 +430,16 @@ First Letters and Associated Punctuation</h4>
430430
that follows the [=first letter=].
431431
<li>
432432
Any intervening typographic space--
433-
i.e. characters that belong to the <code>Zs</code> Unicode general category [[!UAX44]]
433+
i.e. characters that belong to the <code>Zs</code> Unicode general category [[!UAX44]]--
434434
<em>other than</em>
435-
U+3000 IDEOGRAPHIC SPACE or
436-
any <a spec=css-text-3>word-separator characters</a>
435+
U+3000 IDEOGRAPHIC SPACE.
437436
</ul>
438437

439438
<div class="note">
440439
Informally, the [=first-letter text=]’s pattern here
441440
can be roughly
442-
(ignoring the exclusions from <code>Zs</code>)
443-
represented as the regular expression
441+
(ignoring the exclusion from <code>Zs</code>)
442+
represented as a “regular expression
444443
<code highlight="bnf" style="font-family: inherit">
445444
(P (Zs|P)*)? (L&#x7c;N|S) ((Zs|P−(Ps|Pd))* (P−(Ps|Pd))?</code>--
446445
or, alternatively,
@@ -1883,7 +1882,9 @@ Changes</h2>
18831882
and <a href="https://github.com/w3c/csswg-drafts/issues/10213">10213</a>)
18841883
<li>Added ''::details-content'' pseudo-element
18851884
(<a href="https://github.com/w3c/csswg-drafts/pull/10379">Issue 10379</a>)
1886-
<li>Renamed ''::postfix'' to ''::suffix''>
1885+
<li>Allow space and no-break space to be part of ''::first-letter''.
1886+
(<a href="https://github.com/w3c/csswg-drafts/issues/9413">Issue 9413</a>)
1887+
<li>Renamed ''::postfix'' to ''::suffix''.
18871888
(Issue <a href="https://github.com/w3c/csswg-drafts/issues/11949">Issue 11949</a>)
18881889
<li>Excluded inline layout properties from ''::placeholder''.
18891890
(<a href="https://github.com/w3c/csswg-drafts/issues/5379">Issue 5379</a>)

0 commit comments

Comments
 (0)