mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
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:
parent
c42679597a
commit
c22acc2551
Notes:
github-actions[bot]
2024-08-26 13:50:02 +00:00
Author: https://github.com/awesomekling
Commit: c22acc2551
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1191
Reviewed-by: https://github.com/tcl3
3 changed files with 38 additions and 6 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue