-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Intrinsic size of anonymous blocks should propagate depends_on_block_constraints #41633
Copy link
Copy link
Closed
Labels
A-layout/2020https://github.com/servo/servo/wiki/Layout-2020https://github.com/servo/servo/wiki/Layout-2020A-layout/flexA-layout/inlineC-has-manual-testcase
Description
Like #41629, but for intrinsic sizing.
<!DOCTYPE html>
<style>
#flex-container {
display: flex;
flex-direction: column;
}
#flex-item {
width: max-content;
height: 100px;
background: red;
}
#target {
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">
<div><!-- This wraps the inline-level canvas inside an anonymous block --></div>
<canvas id="target" width="200" height="200"></canvas>
</div>
</div>| Servo main | Servo #41632 | Expected |
|---|---|---|
![]() |
![]() |
![]() |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-layout/2020https://github.com/servo/servo/wiki/Layout-2020https://github.com/servo/servo/wiki/Layout-2020A-layout/flexA-layout/inlineC-has-manual-testcase


