Re: [css4-images] possible error in <image-set-decl> syntax

On Sat, Oct 20, 2012 at 2:56 AM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> On Fri, Oct 19, 2012 at 9:26 AM, Glenn Adams <glenn@skynav.com> wrote:
> > should <image-set-decl> be
> >
> > <image-set-decl> = [ <image> | <string> ] <resolution>
> >
> > or
> >
> > <image-set-decl> = ( <image> | <string> ) <resolution>
> >
> > in other words, can one merely specify a <resolution> without <image> or
> > <string>? if so, then the prose should define what this means
>
> I think you're mistaken over the exact grammar syntax we use in CSS.
> () has no special meaning, and [] is just a grouping construct, not an
> optionality indicator.  The grammar for CSS properties and values is
> documented in Values & Units.
>

ah, i knew that (once upon a time); thanks for reminding


>
> > also, in regard to
> >
> > Every <image-set-decl> in a given ‘image-set()’ must have a different
> > <resolution>, or else the function is invalid.
> >
> > what is the definition of 'different'? e.g., is 1dppx different from
> 96dpi?
>
> This is a genuine omission - I should say "computed resolution".
>
>

Received on Saturday, 20 October 2012 00:08:13 UTC