[csswg-drafts] [css-transitions] possible custom-ident should appear last in shorthand (#4223)

ewilligers has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-transitions] possible custom-ident should appear last in shorthand ==
The [list-style](https://drafts.csswg.org/css-lists-3/#list-style-property) shorthand was [changed](https://github.com/w3c/csswg-drafts/commit/8ac1376b1f001a78897efdaf95293a63f65dd57a) to have the custom-ident for longhand [list-style-type](https://drafts.csswg.org/css-lists-3/#propdef-list-style-type) appearing last.

The [animation](https://drafts.csswg.org/css-animations/#animation) shorthand was [changed](https://github.com/w3c/csswg-drafts/commit/52f75651d807e22eb547ca22df2e8c276b58f67e) to have the custom-ident for longhand [animation-name](https://drafts.csswg.org/css-animations/#animation-name) appearing last.

Should the spec for the [transition](https://drafts.csswg.org/css-transitions/#transition-shorthand-property) shorthand similarly be changed to have the custom-ident for longhand [transition-property](https://drafts.csswg.org/css-transitions/#transition-property-property) appearing last?

`animation: linear ease` sets `animation-timing-function` to `linear` and `animation-name` to `ease`.

According to current spec, `transition: linear ease` sets `transition-property` to `linear` and `transition-timing-function` to `ease`.

Note that browsers have already implemented the suggested change for parsing but not for serialization, i.e. in current browsers `transition: linear ease` sets `transition-timing-function` to `linear` and `transition-property` to `ease`, but `transition` `linear 0s ease 0s` seralizes as `ease 0s linear 0s`, and `ease 0s linear 0s` serializes as `linear 0s ease 0s`.



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4223 using your GitHub account

Received on Tuesday, 20 August 2019 09:48:13 UTC