Skip to content

[css-cascade][css-transition] Should property aliasing/mapping applies to transition[-property]? #8022

Open
@cdoublev

Description

@cdoublev

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;.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions