- From: Anne van Kesteren <annevk@opera.com>
- Date: Wed, 14 Nov 2007 15:04:17 +0100
- To: fantasai <fantasai.lists@inkedblade.net>, "Henri Sivonen" <hsivonen@iki.fi>
- Cc: "W3C Style List" <www-style@w3.org>
On Wed, 14 Nov 2007 14:40:28 +0100, fantasai <fantasai.lists@inkedblade.net> wrote: > See http://lists.w3.org/Archives/Public/www-style/2007Nov/0119.html > Split on commas and ignore sections you don't recognize. That doesn't address the whitespace concern. I'd assume that "(min-width:200px)" is ok but that "notalland(min-width:200px)" is not. Here's an attempt to address whitespace concerns in the syntax: media_query_list: WS? <media_query> [WS? , WS? <media_query> ]* WS? media_query: [[only WS | not WS]? <media_type> [WS and WS <expression>]* WS?] | WS? <expression> [WS and WS <expression>]* WS? expression: ( <media_feature> WS? [: WS? <value>]? ) media_type: ... media_feature: ... WS is defined to be CSS 2.1 whitespace or HTML 5 space characters. -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>
Received on Wednesday, 14 November 2007 14:04:46 UTC