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

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

State:
CLOSED
Product:
Selectors Level 4
Raised by:
Florian Rivoal
Opened on:
2012-02-09
Description:
No Change.
Related Actions Items:
No related actions
Related emails:
  1. Re: [selectors4] Open issues (from fantasai.lists@inkedblade.net on 2013-04-17)
  2. [selectors4] Open issues (from fantasai.lists@inkedblade.net on 2013-04-08)
  3. Re: Allowing unknown pseudo classes and unknown pseudo element in the selector. (from florianr@opera.com on 2012-03-09)
  4. CSS-ISSUE-223: Should Selectors adopt MQ-style invalidation (per comma-separated group)? [Selectors Level 4] (from sysbot+tracker@w3.org 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


Peter Linss <peter.linss@hp.com>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>, Chairs, Chris Lilley <chris@w3.org>, Bert Bos <bert@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.323 2013-12-19 14:47:09 dom Exp $