- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 16 Jan 2018 15:30:57 -0800
- To: Dennis Heuer <einz@verschwendbare-verweise.seinswende.de>
- Cc: www-style list <www-style@w3.org>
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
Received on Tuesday, 16 January 2018 23:31:43 UTC