Skip to content

Commit 8b56285

Browse files
committed
[css-pseudo-4] Add RR diagram #5830
1 parent 43c5bae commit 8b56285

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

css-pseudo-4/Overview.bs

+21
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,27 @@ First-Letter Text: ''::first-letter'' pseudo-element and its ''::prefix'' and ''
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.
349+
350+
<pre class=railroad>
351+
Optional:
352+
Sequence:
353+
N: P
354+
ZeroOrMore:
355+
Choice:
356+
N: P
357+
N: Zs
358+
Choice:
359+
N: L
360+
N: N
361+
N: S
362+
Optional:
363+
Sequence:
364+
N: P − (Ps ∪ Pd)
365+
ZeroOrMore:
366+
Choice:
367+
N: P − (Ps ∪ Pd)
368+
N: Zs
369+
</pre>
349370
</div>
350371

351372
<div class="figure">

0 commit comments

Comments
 (0)