serenity/Tests/LibWeb/Layout/input/automatic-height-of-non-replaced-abspos-element-must-not-be-negative.html
Andreas Kling 4bf10674fa LibWeb: Don't allow resolved height of abspos elements to become negative
We have to clamp the resulting height to 0 when solving for it.
2023-03-25 19:41:31 +01:00

11 lines
252 B
HTML

<!DOCTYPE html><html><head><style>
.outer {
position: absolute;
}
.inner {
position: absolute;
top: 0;
bottom: 0;
border: 1px solid black;
}
</style></head><body class="outer"><div class="inner">