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

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.
12 lines
No EOL
206 B
HTML
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> |