Bug 236688 - [LFC][Integration] LineLayout::firstLineBaseline callers expect physical position
Summary: [LFC][Integration] LineLayout::firstLineBaseline callers expect physical posi...
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-15 21:08 PST by zalan
Modified: 2022-02-16 09:32 PST (History)
11 users (show)

See Also:


Attachments
Patch (5.99 KB, patch)
2022-02-15 21:13 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-15 21:08:10 PST
ssia
Comment 1 zalan 2022-02-15 21:13:06 PST
Created attachment 452141 [details]
Patch
Comment 2 Antti Koivisto 2022-02-16 06:37:48 PST
Comment on attachment 452141 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=452141&action=review

> Source/WebCore/rendering/RenderBlockFlow.cpp:2962
> +        return LayoutUnit { floorToInt(modernLineLayout()->firstLinePhysicalBaseline()) };

would be nice to rename RenderBlockFlow::firstLineBaseline etc too
Comment 3 zalan 2022-02-16 06:39:47 PST
(In reply to Antti Koivisto from comment #2)
> Comment on attachment 452141 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=452141&action=review
> 
> > Source/WebCore/rendering/RenderBlockFlow.cpp:2962
> > +        return LayoutUnit { floorToInt(modernLineLayout()->firstLinePhysicalBaseline()) };
> 
> would be nice to rename RenderBlockFlow::firstLineBaseline etc too
Good idea. will do it in a follow up patch!
Comment 4 EWS 2022-02-16 09:30:58 PST
Committed r289897 (247333@main): <https://commits.webkit.org/247333@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 452141 [details].
Comment 5 Radar WebKit Bug Importer 2022-02-16 09:32:17 PST
<rdar://problem/89030489>