Skip to content

Intrinsic size of blocks inside inline should propagate depends_on_block_constraints #41630

@Loirooriol

Description

@Loirooriol
<!DOCTYPE html>
<style>
#flex-container {
  display: flex;
  flex-direction: column;
}
#flex-item {
  height: 100px;
  width: max-content;
  background: red;
}
#target {
  display: block;
  height: 100%;
  background: green;
}
</style>

<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div id="flex-container">
  <div id="flex-item">
    <span id="inline">
      <canvas id="target" width="200" height="200"></canvas>
    </span>
  </div>
</div>
Servo main Servo #41624 Expected
Image Image Image

Blocked on #41633

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-layout/2020https://github.com/servo/servo/wiki/Layout-2020A-layout/inlineC-has-manual-testcase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions