ISSUE-223: Should Selectors adopt MQ-style invalidation (per comma-separated group)?

Should Selectors adopt MQ-style invalidation (per comma-separated group)?

Selectors Level 4
Raised by:
Florian Rivoal
Opened on:
No Change.
Related Actions Items:
No related actions
Related emails:
  1. Re: [selectors4] Open issues (from on 2013-04-17)
  2. [selectors4] Open issues (from on 2013-04-08)
  3. Re: Allowing unknown pseudo classes and unknown pseudo element in the selector. (from on 2012-03-09)
  4. CSS-ISSUE-223: Should Selectors adopt MQ-style invalidation (per comma-separated group)? [Selectors Level 4] (from on 2012-02-09)

Related notes:

Is the rationale for this issue described somewhere?

David Baron, 9 Feb 2012, 18:06:50

Not described anywhere so far, but here is the idea: As we work on new levels of selectors, new possibilities are being introduced, and of course, they will not be simultaneously supported in all browsers. This means combining newish selectors with old ones using commas isn't safe, as old browsers would discard everything, not just the bit they don't understand. This encourages authors to duplicate declaration blocks instead of using comma separated selectors. Invalidating per comma separated group, rather than the entire selector, like media queries do, would fix this.

That said, glazou has already mostly talked me out of this, on the argument that this would break the web. Previously failing selectors may start to match, and activate unexpected declaration blocks.

If we can do this without breaking the web, I think it would be nice, but as this is not critical, maybe it isn't worth the risk.

Florian Rivoal, 9 Feb 2012, 23:07:50

Display change log ATOM feed

Alan Stearns <>, Rossen Atanassov <>, Chairs, Chris Lilley <>, Fuqiao Xue <>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <>.
$Id: 223.html,v 1.1 2020/01/17 10:39:34 carcone Exp $