LibWeb: Implement vertical-align: middle correctly for atomic inlines

This makes inline icons pop into the right place on https://ahrefs.com/
This commit is contained in:
Andreas Kling 2024-08-26 10:28:26 +02:00 committed by Andreas Kling
commit c22acc2551
Notes: github-actions[bot] 2024-08-26 13:50:02 +00:00
3 changed files with 38 additions and 6 deletions

View file

@ -0,0 +1,9 @@
<!doctype html><style>
* { outline: 1px solid black; }
.thing {
display: inline-block;
vertical-align: middle;
width: 100px;
height: 100px;
}
</style><body><span>foo <span class="thing"></span>