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/align-items-normal.html
Andreas Kling 90e95d38d7 LibWeb: Make align-items: normal behave like stretch on flex items
CSS-ALIGN-3 tells us that `normal` behavior inside flex containers is
simply to behave as `stretch` so this patch makes them behave the same
inside FFC.

Furthermore, we change the `align-items` initial value to `normal`,
matching other engines.
2023-08-20 19:37:50 +02:00

12 lines
No EOL
206 B
HTML

<!doctype html><style>
body {
display: flex;
flex-direction: column;
align-items: normal;
}
div {
width: 100px;
height: 100px;
background: orange;
}
</style><body><div></div>