Re: [cssom-view] Query parse erros in Window.matchMedia

On Thu, 02 Sep 2010 19:09:43 +0200, Luiz Agostini  
<luiz.agostini@openbossa.org> wrote:
> what should the new matchMedia method of Window interface return when the
> query is not valid? For example, what to return if the query is  
> "^*%&$&%$"?
> Should it return null?

Parsing something as a media query list always yields a result if I  
remember correctly. For your query you would get "not all".


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Thursday, 2 September 2010 17:45:49 UTC