Skip to content

Commit 0b8752a

Browse files
committed
Clarify that the negative sign must remain when shortening -1n
1 parent 69e1dd9 commit 0b8752a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

selectors3/Overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1949,8 +1949,8 @@ <h5 id=nth-child-pseudo><span class=secno>6.6.5.2. </span>:nth-child()
19491949
foo:nth-child(5) /* same */</pre>
19501950
</div>
19511951

1952-
<p>When <var>a</var>=1, or <var>a</var>=-1, the number may be omitted from
1953-
the rule.
1952+
<p>When <var>a</var>=1, or <var>a</var>=-1, the <code>1</code> may be omitted
1953+
from the rule.
19541954

19551955
<div class=example>
19561956
<p>Examples:</p>

selectors3/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1488,7 +1488,7 @@ <h5 id=nth-child-pseudo>:nth-child() pseudo-class</h5>
14881488
foo:nth-child(5) /* same */</pre>
14891489
</div>
14901490

1491-
<p>When <var>a</var>=1, or <var>a</var>=-1, the number may be
1491+
<p>When <var>a</var>=1, or <var>a</var>=-1, the <code>1</code> may be
14921492
omitted from the rule.
14931493

14941494
<div class="example">

0 commit comments

Comments
 (0)