Re: [mediaqueries] "not" is inconsistent

On Tue, 07 Oct 2014 19:26:05 +0200, Tab Atkins Jr. <>  

>> Since <media-query-list> parsing is not grammar-based, what purpose does
>> <general-enclosed> serve?
> Allowing you to write things like "(min-width: 50px) or
> (new-unknown-thing: foo)" without losing the entire expression.

That case is covered by

"An unknown <mf-name> or <mf-value>, or disallowed <mf-value>, must make  
the entire <media-query> be replaced by not all."

so it returns false. But you want it to return true if (min-width: 50px)  
is true?

Simon Pieters
Opera Software

Received on Wednesday, 8 October 2014 07:19:24 UTC