1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 21:55:08 +00:00
serenity/Tests/LibWeb/Layout/input/flex/br-element-does-not-get-blockified-by-itself.html
Andreas Kling ef9b6c25fa LibWeb: Consolidate consecutive inlines in a single anonymous flex item
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.
2023-09-01 12:45:38 +02:00

8 lines
115 B
HTML

<!doctype><style>
* { outline: 1px solid black; }
div { display: flex; }
</style>
<div>
well<br>
hello<br>
friends