W3C home > Mailing lists > Public > www-style@w3.org > October 2012

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

From: Glenn Adams <glenn@skynav.com>
Date: Sat, 20 Oct 2012 07:07:20 +0700
Message-ID: <CACQ=j+c-svahnj+C3rvFsWrq=4TRnRMmN+58QuivmoL6fA=G7w@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: W3C Style <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT