Open
Description
I would like to know in which cases a property name should be replaced in the parsing/serialization of transition-property
. It does not seem clearly defined in CSS Cascade.
style.transitionProperty = `
word-wrap, /* Unprefixed legacy name alias */
grid-row-gap, /* Unprefixed legacy shorthand */
page-break-before, /* Unprefixed legacy shorthand */
-webkit-background-size, /* Legacy name alias */
-webkit-box-ordinal-group /* Legacy mapping property */
`
style.cssText;
The output in Chrome for style.cssText
is transition-property: word-wrap, grid-row-gap, page-break-before, -webkit-background-size, -webkit-box-ordinal-group;
.
The output in Firefox is transition-property: overflow-wrap, row-gap, page-break-before, background-size, -moz-box-ordinal-group;
.