W3C home > Mailing lists > Public > www-style@w3.org > November 2009

Amendment to Selector parsing concerning grouping

From: James Hopkins <james@idreamincode.co.uk>
Date: Sun, 15 Nov 2009 20:19:09 +0000
Message-Id: <FBC5B38F-D57F-47A4-8C28-B242C0989006@idreamincode.co.uk>
To: www-style@w3.org
The issue centers around the current selector parsing spec, which is  
preventing authors taking advantage of the usefulness of selector  
grouping when combining both supported and unsupported simple  
selectors in the same rule.

Currently, in order to apply the declaration block, all simple  
selectors within the group need to be supported/recognised by the user  
agent, otherwise the entire rule set is dropped.

In order to introduce some level of forward compatibility, I would  
like to propose an amendment to the current selector parsing rules,  
which would allow the rule set of a selector group to be applied to  
supported simple selectors, regardless of whether all simple selectors  
within the selector group are supported by that particular UA.

I'm also aware that the negation pseudo-class may be extended to  
include selector groupings as arguments, and I would suggest that this  
particular application follow the same logic.
Received on Sunday, 15 November 2009 20:19:46 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:22 GMT