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:
parent
7447a91d7e
commit
e4b71495f5
3 changed files with 44 additions and 7 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue