Bug 227594

Summary: [Legacy line layout] Inline content on subpixel position makes the table cell scroll
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, changseok, eric.carlson, esprehn+autocc, ews-watchlist, glenn, jbedard, jer.noble, kondapallykalyan, mmaxfield, pdr, philipj, sergio, simon.fraser, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch none

Description zalan 2021-07-01 13:34:06 PDT
<rdar://74884402>
Comment 1 zalan 2021-07-01 13:42:17 PDT
Created attachment 432721 [details]
Patch
Comment 2 zalan 2021-07-01 13:46:02 PDT
Created attachment 432722 [details]
Patch
Comment 3 zalan 2021-07-01 18:20:00 PDT
Created attachment 432761 [details]
Patch
Comment 4 zalan 2021-07-02 12:43:35 PDT
Created attachment 432812 [details]
Patch
Comment 5 zalan 2021-07-06 16:38:58 PDT
Created attachment 432987 [details]
Patch
Comment 6 zalan 2021-07-06 16:55:12 PDT
Created attachment 432989 [details]
Patch
Comment 7 zalan 2021-07-06 18:57:18 PDT
Created attachment 432997 [details]
Patch
Comment 8 zalan 2021-07-06 21:08:40 PDT
Created attachment 433006 [details]
Patch
Comment 9 zalan 2021-07-07 06:41:08 PDT
Created attachment 433024 [details]
Patch
Comment 10 Simon Fraser (smfr) 2021-07-07 08:53:08 PDT
Comment on attachment 433024 [details]
Patch

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

> Source/WebCore/rendering/LegacyInlineFlowBox.cpp:659
> +        // FIXME: Let's do device pixel snapping at paint time instead.

Can you reference a bugzilla bug in the comment? The "Let's do" makes it hard to judge how important this is; it should be more like "we should not do integral rounding here".

> Source/WebCore/rendering/LegacyInlineFlowBox.cpp:771
>      if (isRootBox) {

Sucks how there's if (isRootBox) logic way up at the start of this function, and here. Would be nice to factor the middle part into separate function.
Comment 11 zalan 2021-07-07 11:19:02 PDT
Created attachment 433050 [details]
Patch
Comment 12 EWS 2021-07-07 14:35:27 PDT
Committed r279673 (239480@main): <https://commits.webkit.org/239480@main>

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