Bug 236207 - [LFC][IFC] WritingMode::LeftToRight expects line content flipped within the line
Summary: [LFC][IFC] WritingMode::LeftToRight expects line content flipped within the line
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: 2022-02-06 12:37 PST by zalan
Modified: 2022-02-07 06:47 PST (History)
5 users (show)

See Also:


Attachments
Patch (9.44 KB, patch)
2022-02-06 13:01 PST, 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 2022-02-06 12:37:03 PST
void LegacyInlineFlowBox::flipLinesInBlockDirection(LayoutUnit lineTop, LayoutUnit lineBottom)
{
    // Flip the box on the line such that the top is now relative to the lineBottom instead of the lineTop.
    setLogicalTop(lineBottom - (logicalTop() - lineTop) - logicalHeight());
Comment 1 zalan 2022-02-06 13:01:22 PST
Created attachment 451049 [details]
Patch
Comment 2 EWS 2022-02-07 06:46:29 PST
Committed r289214 (246899@main): <https://commits.webkit.org/246899@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 451049 [details].
Comment 3 Radar WebKit Bug Importer 2022-02-07 06:47:18 PST
<rdar://problem/88569671>