1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 22:27:44 +00:00

LibWeb: Resolve percentage vertical-align values against line-height

...instead of not resolving them at all. :^)
This commit is contained in:
Andreas Kling 2023-03-29 13:04:51 +02:00
parent 7447a91d7e
commit e4b71495f5
3 changed files with 44 additions and 7 deletions

View file

@ -0,0 +1,14 @@
<!DOCTYPE html><html><head><style>
* {
border: 1px solid black;
margin: 0;
padding: 0;
font: 16px SerenitySans;
}
.clump {
display: inline-block;
vertical-align: -20%;
width: 30px;
height: 30px;
}
</style></head><body><div class="clump"></div><br><div class="clump"></div>