W3C home > Mailing lists > Public > public-fx@w3.org > January to March 2016

Re: [css-transforms] Clarify definition of <transform-function>

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 4 Jan 2016 09:28:45 -0800
Message-ID: <CAAWBYDCB7nP+rqj7DzAef6zqMHtvoshLGMJuL7PsMi-V9qvPfw@mail.gmail.com>
To: Sebastian Zartner <sebastianzartner@gmail.com>
Cc: "public-fx@w3.org" <public-fx@w3.org>, www-style list <www-style@w3.org>
On Thu, Dec 17, 2015 at 11:37 PM, Sebastian Zartner
<sebastianzartner@gmail.com> wrote:
> The <transform-function> value is described as list of transform
> functions.[1] To be more precise it should be mentioned that it is a
> *space-separated* list.

No, <transform-function> is a single function.  That paragraph does,
though, say that the value of the 'transform' property is a list of
<transform-function>s. That is just a restatement of the actual
grammar listed in the spec, which has <transform-list> =
<transform-function>+ (which makes it clear that the list is
space-separated).

> Also, it is not explicitly mentioned whether functions can appear
> multiple times within the list.

It doesn't need to - that's implicit from <transform-function>+, which
puts no restrictions on what the <transform-function>s are.

> Instead of defining this as text, it may be better to define the
> syntax using the value definition syntax[2].

It already is. ^_^

~TJ
Received on Monday, 4 January 2016 17:29:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 4 January 2016 17:29:34 UTC