mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
...for block level boxes. Otherwise we end up resolving auto width as zero during intrinsic layout, which leads to incorrectly applied max-width constraint. Fixes https://github.com/LadybirdBrowser/ladybird/issues/4123
13 lines
234 B
HTML
13 lines
234 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
.a {
|
|
background: red;
|
|
position: fixed;
|
|
}
|
|
.b {
|
|
background: green;
|
|
display: flex;
|
|
max-width: 100px;
|
|
}
|
|
</style>
|
|
<div class="a"><div class="b">foo bar baz lorem ipsum dolor sit amet consectetuer |