Skip to content

Commit 4316f91

Browse files
committed
[css-pseudo-4] Intervening spaces are included in ::first-letter along with the adjacent punctuation. #5154
1 parent a414c09 commit 4316f91

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

css-pseudo-4/Overview.bs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,10 @@ The ::first-letter pseudo-element</h3>
235235
</div>
236236

237237
Punctuation (i.e, characters that belong to the Punctuation (<code>P*</code>) <a>Unicode general category</a> [[!UAX44]])
238-
that precedes or follows the first <a>typographic letter unit</a> must also be included
238+
that precedes or follows the first <a>typographic letter unit</a>
239+
and any intervening space separators
240+
(characters that belong to the <code>Zs</code> Unicode general category [[!UAX44]])
241+
must also be included
239242
in the ''::first-letter'' pseudo-element.
240243

241244
<div class="figure">
@@ -967,6 +970,8 @@ Changes</h2>
967970
Changes since the <a href="https://www.w3.org/TR/2019/WD-css-pseudo-4-20190225/">25 February 2019 Working Draft</a> include:
968971

969972
<ul>
973+
<li>Included spaces between the first letter and its surrounding punctuation in ''::first-letter''.
974+
(<a href="https://github.com/w3c/csswg-drafts/issues/5154">Issue 5154</a>)
970975
<li>Added ''::marker'' to types allowed for {{CSSPseudoElement}} interface.
971976
<li>Clarified return value of {{pseudo()}}.
972977
<li>Added 'content', 'unicode-bidi', and 'direction' to properties allowed on ''::marker''.

0 commit comments

Comments
 (0)