Skip to content

Commit c412fad

Browse files
committed
[css3-page] Clarify that f in specificity can only be 0 or 1
1 parent 03e1639 commit c412fad

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

css3-page/Overview.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,8 @@ <h3 id=cascading-and-page-context><span class=secno>5.4. </span>Cascading
11351135

11361136
<ul>
11371137
<li>Count the number of page type names (= <var>f</var>)
1138-
<p class=note>This is 0 or 1.
1138+
<p class=note> Given the syntax of page seletors, <var>f</var> can only
1139+
ever be 0 or 1.
11391140

11401141
<li>Count the number of ‘<code class=css>:first</code>’ or ‘<code
11411142
class=css>:blank</code>’ pseudo-classes (= <var>g</var>)

css3-page/Overview.src.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,8 @@ <h3 id="cascading-and-page-context">Cascading in the page context</h3>
819819

820820
<ul>
821821
<li>Count the number of page type names (= <var>f</var>)
822-
<p class="note">This is 0 or 1.
822+
<p class="note">
823+
Given the syntax of page seletors, <var>f</var> can only ever be 0 or 1.
823824
<li>Count the number of ':first' or ':blank' pseudo-classes (= <var>g</var>)
824825
<li>Count the number of ':left' or ':right' pseudo-classes (= <var>h</var>)
825826
</ul>

0 commit comments

Comments
 (0)