2013/7/23 felix <[email protected]>: > On Mon, Jul 22, 2013 at 5:35 PM, Mike Samuel <[email protected]> wrote: >> The use of "/" in media-queries and the fact that media queries appear >> adjacent to a URL in @import means that we might want to guard against >> media queries that could also be interpreted as URLs. >> I propose prefixing with "only" all media queries that do not start >> with "only" and consist of only commas and known media types per >> http://dev.w3.org/csswg/mediaqueries4/#media0 : > > you also need to say 'only all and' when the media query lacks a media_type.
Is this so that the second branch in media_query : [ONLY | NOT]? S+ media_type [ S+ AND S+ expression ]* S* | expression [ S+ AND S+ expression ]* S* can be treated as an equivalent instance of the first branch? > I feel like this is too paranoid. media queries are very well > supported by all browsers except IE8, and we don't care about IE8. > http://caniuse.com/#feat=css-mediaqueries > but I don't feel strongly about that. the paranoia is fine. Good to know. -- --- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
