@@ -173,11 +173,12 @@ Heading Structures: the heading pseudo-classes '':heading'', and '':heading()''<
173173
174174 As a functional pseudo-class,
175175 <dfn id='heading-functional-pseudo' lt=':heading()'>:heading()</dfn>
176- notation represents elements that have a <a>heading level</a> among <var> An+B</var> .
176+ notation represents elements that have a <a>heading level</a> among matching
177+ any of the provided <var> integer</var> values.
177178 The syntax is:
178179
179180 <pre class=prod>
180- :heading() = :heading( <<An+B> > # )
181+ :heading() = :heading( <integer ># )
181182 </pre>
182183
183184 The [=specificity=] of '':heading()'' is that of a class.
@@ -188,10 +189,10 @@ Heading Structures: the heading pseudo-classes '':heading'', and '':heading()''<
188189 500, additionally heading levels 1 and 2 will be underlined, while 3 and
189190 beyond will have no text-decoration:
190191
191- <pre> :heading(-n+ 3) { font-weight: 900; }</pre>
192- <pre> :heading(n+6 ) { font-weight: 500; }</pre>
192+ <pre> :heading(1, 2, 3) { font-weight: 900; }</pre>
193+ <pre> :heading(6, 7, 8, 9 ) { font-weight: 500; }</pre>
193194 <pre> :heading(1, 2) { text-decoration: underline; }</pre>
194- <pre> :heading(n+3 ) { text-decoration: none; }</pre>
195+ <pre> :heading(3, 4, 5, 6, 7, 8, 9 ) { text-decoration: none; }</pre>
195196 </div>
196197
197198 Note: The <a>heading level</a> might be different from an element's
0 commit comments