W3C home > Mailing lists > Public > www-style@w3.org > August 2009

Re: [CSS3] Some thoughts about functions, notation and gradient().

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 20 Aug 2009 23:43:17 -0500
Message-ID: <dd0fbad0908202143p26560241q477d5bbbfd1b8bb0@mail.gmail.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: Brad Kemper <brad.kemper@gmail.com>, Simon Fraser <smfr@me.com>, www-style <www-style@w3.org>
On Thu, Aug 20, 2009 at 9:44 PM, Andrew
Fedoniouk<news@terrainformatica.com> wrote:
> And yet just discovered another funny inhabitant of that lists-zoo in CSS:
>
> E { background: #CCC url("metal.jpg") (100% auto) no-repeat top left }
> (spotted in [1])
>
> I am wondering what these '(' and ')' are doing there. And where this
> notation is actually defined.

Well, I can tell that they're containing the background-size.  But I
have no clue where that production's coming from.  There aren't any
parens in the syntax, and bg-size doesn't use parens normally.  Either
the official syntax or the examples is wrong.

(These appear in Examples 15, 16, and 18 in the current WD of
Backgrounds and Border Level 3.)

~TJ
Received on Friday, 21 August 2009 04:44:13 GMT

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