Skip to content

Commit 26557e3

Browse files
committed
Add note about repeated selectors increasing specificity
1 parent c4de327 commit 26557e3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

selectors3/Overview.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2454,6 +2454,9 @@ <h2><a name=specificity>9. Calculating a selector's specificity</a></h2>
24542454
</pre>
24552455
</div>
24562456

2457+
<p class="note"><strong>Note:</strong> Repeated occurrances of the
2458+
same simple selector are allowed and do increase specificity.</p>
2459+
24572460
<p class="note"><strong>Note:</strong> the specificity of the styles
24582461
specified in an HTML <code>style</code> attribute is described in CSS
24592462
2.1. <a href="#refsCSS21">[CSS21]</a>.</p>

0 commit comments

Comments
 (0)