Re: [css-transitions] value regex for transition-property does not meet description

On Tue, 16 Jan 2018 15:30:57 -0800
"Tab Atkins Jr." <jackalmage@gmail.com> wrote:

> On Tue, Jan 16, 2018 at 1:28 PM, Dennis Heuer
> <einz@verschwendbare-verweise.seinswende.de> wrote:
> > Hello,
> >
> > take it or not but don't bother me with 'wont fix!'
> >
> > https://www.w3.org/TR/css-transitions-1/#propdef-transition-property
> >
> > Value:   none | <single-transition-property> #
> > Initial: all
> >
> > The above doesn't mention 'all' as a valid value. Below the blue
> > box, 'all' is explained to be a single-transition-property. Exactly
> > in the next paragraph it is (correctly) called a 'keyword' and
> > differed from single-transition-properties. This is confusing.
> >
> > The description below the blue box says:
> >
> > <'single-transition-property'> = all | <custom-ident>;
> >
> > A value of none means that no property will transition. Otherwise,
> > a list of properties to be transitioned, or the keyword all which
> > indicates that all properties are to be transitioned, is given.
> 
> What do you think is wrong here? "all" is indeed included as part of
> <single-transition-property>, and so the initial value does indeed
> correctly match the grammar.
> 
> It's not written as `none | all | <single-transition-property>#`
> because `transition-property: color, all, background-position` is
> meant to be allowed - the "all" is part of the comma-separated list,
> not a totally separate grammar term that has to stand on its own, like
> "none" is.
> 
> ~TJ
> 

Then still the text in the paragraph says the opposite or is at least
confusing because it says: "..., or the keyword all which indicates
that all properties are to be transitioned, is given." This makes the
keyword 'all' look exclusive. If that is not the case, it would be
better to write two paragraphs:

A value of none means that no property will transition. Otherwise,
a list of properties to be transitioned is given

The property all indicates that all properties are to be transitioned
and might be used like <explanatory examples>

Regards,
---------------------------------------------------------------------
Dennis Heuer
einz@verschwendbare-verweise.seinswende.de

Received on Tuesday, 16 January 2018 23:55:22 UTC