[css-transitions-1] Clarify priority transition-property
over transition-timing-function
and transition-behavior-value
in transition
#7897
Labels
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 matchease
? Obviously, everyone assumes it should matchtransition-timing-function
and it does in all browsers (I think), but this match priority overtransition-property
does not seem defined, neither by the syntax or in prose.Below
transition
definition table, the priority oftransition-duration
overtransition-delay
is defined. Belowtransition-property
definition table, it is defined that an unrecognized property name as<single-transition-property>
is valid, and thatnone
and CSS-wide keyword are invalid.Solution I am thinking to: move
[ none | <single-transition-property> ]
to the end oftransition
syntax and add in prose belowtransition
definition table, thattransition-timing-function
has priority overtransition-property
.Somewhat related: #6946
Aside: imho, something like
<'transition-duration'> || <'transition-timing-function'> || <'transition-delay'> || <'transition-property'>
fortransition
, andnone | [all | <custom-ident>]#
fortransition-property
(keeping in mind that # is ignored when parsingtransition
), would be much clearer and would illustrate what is defined in prose.The text was updated successfully, but these errors were encountered: