Skip to content

[css-transforms-1] Transformable Elements Too Restrictive #2033

@fantasai

Description

@fantasai

https://www.w3.org/TR/css-transforms-1/#transformable-element

A transformable element is an element in one of these categories:

  • an element whose layout is governed by the CSS box model which is either a block-level or atomic inline-level element, or whose display property computes to table-row, table-row-group, table-header-group, table-footer-group, table-cell, or table-caption [CSS2]
  • an element in the SVG namespace and not governed by the CSS box model which has the attributes transform, patternTransform or gradientTransform [SVG11].

The first bullet excludes flex and grid items. I think it should be restructured as a blacklist rather than a whitelist so that it remains correct going forward. Afaict the only thing that's intended to be excluded is table columns/colgroups and non-replaced inlines.

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