Skip to content

Intrinsic size with percentage quirk still wrong #49683

Closed

Description

@Loirooriol

Similar to #48976 and #49210:

<!-- quirks -->
<div style="width: 100px; height: 100px; background: red; outline: solid 2px">
  <div style="width: max-content; background: green">
    <canvas width="50" height="50" style="height: 100%"></canvas>
  </div>
</div>
Actual Expected
Image Image

Like in the previous issues, Firefox is also wrong.

Activity

  1. added
    C-has-manual-testcase
    A-layout/2020
    and removed on Nov 7, 2026
  2. Loirooriol commented on Nov 7, 2026

    @Loirooriol
    ContributorAuthor

    This is a regression from #49617

  3. added a commit that references this issue on Nov 9, 2026
    a8c5ad5
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

    A-layout/2020A-layout/blockC-has-manual-testcase

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions