Skip to content

Commit bd1505f

Browse files
committed
[css-pseudo-4] Spaces are Zs not S ... #5830
1 parent f89a04a commit bd1505f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

css-pseudo-4/Overview.bs

+6-3
Original file line numberDiff line numberDiff line change
@@ -331,12 +331,15 @@ First-Letter Text: ''::first-letter'' pseudo-element and its ''::prefix'' and ''
331331
</ul>
332332

333333
<div class="note">
334-
Informally represented, the first-letter text’s pattern here is
334+
Informally represented, the [=first-letter text=]’s pattern here
335+
can be roughly
336+
(ignoring the exclusion of word separators from <code>Zs</code>)
337+
represented as
335338
<code highlight="bnf" style="font-family: inherit">
336-
(S|P)* (L|N)+ (S|P^(Ps|Pd))*</code>
339+
(Zs|P)* (L|N)+ (Zs|P^(Ps|Pd))*</code>
337340
or, alternatively,
338341
<code highlight="bnf" style="font-family: inherit">
339-
[S P]* [L N]+ [[S][P--[Ps Pd]]]*</code>
342+
[Zs P]* [L N]+ [[Zs][P--[Ps Pd]]]*</code>
340343
<!-- this is not actually BNF, but it highlights better that way -->
341344
</div>
342345

0 commit comments

Comments
 (0)