> Should the :is() have specificity like :not()? @Nadya678 `:matches()` behaves like `:not()`: it takes the specificity of its argument. The proposed `:is()`, which otherwise behaves exactly like `:matches()`, has a specificity of zero. > What specificity has :has()? Good question. It looks like we forgot to define it when we switched from having a subject indicator to using `:has()` syntax. I've updated the Specificity section now--it has the specificity of its argument, just like `:matches()`. -- GitHub Notification of comment by fantasai Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2143#issuecomment-358122804 using your GitHub accountReceived on Tuesday, 16 January 2018 22:04:23 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:23 UTC