mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 21:55:08 +00:00

Before this change, we were creating a new anonymous flex item for every inline-level child of a flex container, even when we had a sequence of inline-level children. The fix here is to simply keep putting things in the last child of the flex container, if that child is already an anonymous flex item.
8 lines
115 B
HTML
8 lines
115 B
HTML
<!doctype><style>
|
|
* { outline: 1px solid black; }
|
|
div { display: flex; }
|
|
</style>
|
|
<div>
|
|
well<br>
|
|
hello<br>
|
|
friends
|