Skip to content

Commit b01b8d4

Browse files
cdoublevtabatkins
andauthored
[css-gcpm-3] Define :nth() as selector instead of function (#9322)
* [css-gcpm-3] Define :nth() as selector instead of function * Update css-gcpm-3/Overview.bs --------- Co-authored-by: Tab Atkins Jr <jackalmage@gmail.com>
1 parent 5fa5fd0 commit b01b8d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

css-gcpm-3/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -691,16 +691,16 @@ A paginated document consists of a sequence of pages. [[CSS3PAGE]] defines <dfn>
691691
<h3 id="document-page-selectors">
692692
Page Selectors
693693
</h3>
694-
The ''nth()'' page pseudo-class allows the selection of arbitrary document pages. This pseudo-class takes an argument of the form <a href="https://drafts.csswg.org/css-syntax/#anb">An + B</a> as defined in [[CSS3SYN]]. When applied to the default @page rule, ''nth()'' selects the document page whose index matches the argument.
694+
The '':nth()'' page pseudo-class allows the selection of arbitrary document pages. This pseudo-class takes an argument of the form <a href="https://drafts.csswg.org/css-syntax/#anb">An + B</a> as defined in [[CSS3SYN]]. When applied to the default @page rule, '':nth()'' selects the document page whose index matches the argument.
695695

696696
<pre class="prod">
697-
<dfn>nth()</dfn> = ( An+B [of <<custom-ident>>]?)
697+
<dfn>:nth()</dfn> = :nth( <<an+b>> [of <<custom-ident>>]? )
698698
</pre>
699699

700700
<p class="note">
701-
''nth()'' is not related to the page counter, which may reset and use various numbering schemes.</p>
701+
'':nth()'' is not related to the page counter, which may reset and use various numbering schemes.</p>
702702

703-
When the ''nth()'' selector is applied to a named page, and that named page is part of a page-group (see below), it selects the nth page in the page group.
703+
When the '':nth()'' selector is applied to a named page, and that named page is part of a page-group (see below), it selects the nth page in the page group.
704704

705705

706706
<div class="example">

0 commit comments

Comments
 (0)