W3C home > Mailing lists > Public > www-style@w3.org > April 2008

Re: [css3-mediaqueries] parsing

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 04 Apr 2008 09:50:26 -0700
Message-ID: <47F65C52.6080302@inkedblade.net>
To: Anne van Kesteren <annevk@opera.com>
CC: www-style@w3.org

Anne van Kesteren wrote:
> To match existing implementations better and also to give better forward 
> compatible parsing rules maybe we should do it as follows:
> * A violation of the basic syntax will cause the list of media queries 
> to be ignored.

I don't agree with this. I think better forward-compatible parsing rules
would be to follow the parse-strings-match-brackets rules used in CSS
declaration blocks and to drop only the affected media query, not the
whole list.

> * An unknown media type, media feature, or unknown media feature value 
> will cause the respective media query to be ignored, but not the whole 
> list of media queries.

See David Baron's message and my reply


Received on Friday, 4 April 2008 16:51:08 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:35 UTC