Parsing media queries

I intend to implement media query parsing in isolation of the rest of  
CSS because HTML 5 reuses the media query syntax in attribute values.

A couple of comments about the spec:
It seems to me that whitespace is allowed around tokens. I don't see  
where this is specified. The spec doesn't make a normative reference  
to the CSS3 Syntax module.

It isn't clear how the parser should recover when a query in a list  
fails to parse. Should the parser look for a comma?

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Wednesday, 14 November 2007 13:22:43 UTC

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant