Skip to content

Add CSS aspect-ratio support #14

Description

@FlorianRappl

Description
aspect-ratio is not currently respected in sizing/layout calculations.

Scope

  • Support authored aspect-ratio for block/replaced elements where applicable.
  • Integrate with width/height auto resolution and intrinsic size constraints.
  • Ensure interactions with min/max constraints are handled predictably.

Acceptance criteria

  • Elements with aspect-ratio resolve computed box size correctly in common layout scenarios.
  • Works with explicit width or height and with auto dimensions.
  • Regression tests cover replaced and non-replaced cases.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions