Bug 225166 - [LFC][IFC] Incorrect middle alignment for inline boxes when line-height is present
Summary: [LFC][IFC] Incorrect middle alignment for inline boxes when line-height is pr...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-04-28 15:11 PDT by zalan
Modified: 2021-04-29 06:22 PDT (History)
4 users (show)

See Also:


Attachments
Patch (6.38 KB, patch)
2021-04-28 16:46 PDT, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2021-04-28 15:11:59 PDT
<style>
div {
  line-height: 30; 
}
span {
  vertical-align: middle;
}
</style>
<div style="background-color: green;">should<span>middle align</span></div>
Comment 1 zalan 2021-04-28 15:12:15 PDT
<rdar://77272112>
Comment 2 zalan 2021-04-28 16:46:24 PDT
Created attachment 427307 [details]
Patch
Comment 3 EWS 2021-04-29 06:22:20 PDT
Committed r276767 (237154@main): <https://commits.webkit.org/237154@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 427307 [details].