Bug 215068

Summary: [LFC][IFC] LineBuilder:Run should not have vertical geometry
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 215087, 215752    
Attachments:
Description Flags
Patch
none
Patch
koivisto: review+
Patch
none
Patch
none
Patch
none
Patch
none
Patch none

Description zalan 2020-08-01 17:24:50 PDT
LineBuilder does not align runs vertically (actually no alignment at all)
Comment 1 zalan 2020-08-01 17:35:53 PDT
Created attachment 405801 [details]
Patch
Comment 2 Radar WebKit Bug Importer 2020-08-08 17:25:15 PDT
<rdar://problem/66736366>
Comment 3 zalan 2020-08-27 06:06:44 PDT
Created attachment 407394 [details]
Patch
Comment 4 Antti Koivisto 2020-08-27 06:14:27 PDT
Comment on attachment 407394 [details]
Patch

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

> Source/WebCore/layout/inlineformatting/InlineLineBuilder.cpp:178
> -            // and the trimmed width should be capped at std::min(run.trailingWhitespaceWidth(), overflowWidth) for texgt runs. Both FF and Chrome agree.
> +            // and the trimmed width should be capped at std::min(run.trailingWhitespaceWidth(), overflowWidth) for text runs. Both FF and Chrome agree.

Great spelling fixes!

> Source/WebCore/layout/inlineformatting/InlineLineBuilder.cpp:394
> -    // Note that just becasue the trimmable width is 0 (font-size: 0px), it does not mean we don't have a trimmable trailing content.
> +    // Note that just because the trimmable width is 0 (font-size: 0px), it does not mean we don't have a trimmable trailing content.

Here too.

> Source/WebCore/layout/inlineformatting/InlineLineBuilder.cpp:401
> -    // Do not add trimmable letter spacing after a fully trimmable whitesapce.
> +    // Do not add trimmable letter spacing after a fully trimmable whitespace.

And here.
Comment 5 zalan 2020-08-27 08:45:21 PDT
Created attachment 407402 [details]
Patch
Comment 6 zalan 2020-08-27 08:54:36 PDT
Created attachment 407403 [details]
Patch
Comment 7 zalan 2020-08-27 16:21:21 PDT
Created attachment 407432 [details]
Patch
Comment 8 zalan 2020-08-27 16:55:26 PDT
Created attachment 407438 [details]
Patch
Comment 9 zalan 2020-08-27 19:05:03 PDT
Created attachment 407444 [details]
Patch
Comment 10 EWS 2020-08-27 20:07:11 PDT
Committed r266271: <https://trac.webkit.org/changeset/266271>

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