Skip to content

Commit

Permalink
[extend-rule] Give placeholder selectors universal selector specificity
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathantneal committed Sep 19, 2017
1 parent 0346e7c commit af66e02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions css-extend-rule/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -321,10 +321,10 @@ This ensures that no element will ever directly match the styles using one,
even by accident,
and it can't be accidentally reused for an element directly.

<a>Placeholder selectors</a> have the same specificity as <a>class selectors</a>.
<a>Placeholder selectors</a> have the same specificity as <a>universal selectors</a>.

Issue: Or should they have slightly less, so concrete classes can reliably override?
This would mean putting a fourth number into the specificity 3-tuple.
Issue: Or should they have greater specificity?
Or should we put a fourth number into the specificity 3-tuple?

Acknowledgements {#acks}
========================
Expand Down

0 comments on commit af66e02

Please sign in to comment.