[csswg-drafts] [css-transitions-1] Clarify priority `transition-property` over `transition-timing-function` in `transition` (#7897)

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

== [css-transitions-1] Clarify priority `transition-property` over `transition-timing-function` in `transition` ==
I'm surprised I cannot find a related issue or thread in the archive because `transition` exists since quite a long time, so I hope I have not missed any, or something in the spec.

In `transition: ease`, what should match `ease`? Obviously, everyone assumes it should match `transition-timing-function` and it does in all browsers (I think), but this match priority over `transition-property` does not seem defined, neither by the syntax or in prose.

Below `transition` definition table, the priority of `transition-duration` over `transition-delay` is defined. Below `transition-property` definition table, it is defined that an unrecognized property name as `<single-transition-property>` is valid, and that `none` and CSS-wide keyword are invalid.

Solution I am thinking to: move `[ none | <single-transition-property> ]` to the end of `transition` syntax and add in prose below `transition` definition table, that `transition-timing-function` has priority over `transition-property`.

Somewhat related: #6946

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 18 October 2022 09:15:55 UTC