Skip to content

Commit facb106

Browse files
committed
[css-pseudo-4] First letter, not first word. #5830
1 parent 525ca29 commit facb106

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-pseudo-4/Overview.bs

+2-2
Original file line numberDiff line numberDiff line change
@@ -339,10 +339,10 @@ First-Letter Text: ''::first-letter'' pseudo-element and its ''::prefix'' and ''
339339
(ignoring the exclusion of word separators from <code>Zs</code>)
340340
represented as
341341
<code highlight="bnf" style="font-family: inherit">
342-
(P (Zs|P)*)? (L|N|S)+ ((Zs|P−(Ps|Pd))* (P−(Ps|Pd))?</code>
342+
(P (Zs|P)*)? (L|N|S) ((Zs|P−(Ps|Pd))* (P−(Ps|Pd))?</code>
343343
or, alternatively,
344344
<code highlight="bnf" style="font-family: inherit">
345-
(&#91;P] [Zs P]*)? [L N S]+ ([Zs [P--[Ps Pd]]]* [P--[Ps Pd]])?</code>
345+
(&#91;P] [Zs P]*)? [L N S] ([Zs [P--[Ps Pd]]]* [P--[Ps Pd]])?</code>
346346
<!-- this is not actually BNF, but it highlights better that way -->
347347

348348
ISSUE: Bikeshed is <a href="https://github.com/tabatkins/bikeshed/issues/2202">eating punctuation</a> in this note, which is not helpful.

0 commit comments

Comments
 (0)