1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:38:11 +00:00
serenity/Tests/LibWeb/Layout/input/flex-abspos-item-with-preceding-whitespace.html
Sebastian Zaha 6a66a05809 LibWeb: Adjust 4 abspos tests to highlight errors
The tests still pass, but opening the files in Ladybird and Safari or
Firefox shows clearly where the layouting in Ladybird is incorrect
for some absolute positioned elements. The previous 1px border was
subtly hiding some issues.
2023-07-08 06:13:56 +02:00

16 lines
384 B
HTML

<!DOCTYPE html><html><head><style>
* {
border: 10px solid black !important;
}
.pink {
background: pink;
display: flex;
align-items: center;
}
.orange {
background: orange;
width: 100px;
height: 100px;
position: absolute;
}
</style></head><body><div class="pink"> <div class="orange">