Bug 206305 - [LFC][IFC] LineBreaker::shouldWrapInlineContent should take the candidate content width
Summary: [LFC][IFC] LineBreaker::shouldWrapInlineContent should take the candidate con...
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: 2020-01-15 11:59 PST by zalan
Modified: 2020-01-15 18:23 PST (History)
6 users (show)

See Also:


Attachments
Patch (8.05 KB, patch)
2020-01-15 12:02 PST, zalan
no flags Details | Formatted Diff | Diff
Patch (8.72 KB, patch)
2020-01-15 12:10 PST, zalan
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from webkit-cq-02 for mac-mojave (5.59 MB, application/zip)
2020-01-15 15:02 PST, WebKit Commit Bot
no flags Details
Patch (13.51 KB, patch)
2020-01-15 16:36 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 2020-01-15 11:59:29 PST
No need to re-collect the width.
Comment 1 Radar WebKit Bug Importer 2020-01-15 12:00:02 PST
<rdar://problem/58613977>
Comment 2 zalan 2020-01-15 12:02:40 PST
Created attachment 387816 [details]
Patch
Comment 3 Antti Koivisto 2020-01-15 12:04:40 PST
Comment on attachment 387816 [details]
Patch

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

> Source/WebCore/layout/inlineformatting/InlineLineBreaker.cpp:138
>  #if USE_FLOAT_AS_INLINE_LAYOUT_UNIT
>      // Preferred width computation sums up floats while line breaker substracts them. This can lead to epsilon-scale differences.

I think this test should move too.
Comment 4 zalan 2020-01-15 12:05:47 PST
(In reply to Antti Koivisto from comment #3)
> Comment on attachment 387816 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=387816&action=review
> 
> > Source/WebCore/layout/inlineformatting/InlineLineBreaker.cpp:138
> >  #if USE_FLOAT_AS_INLINE_LAYOUT_UNIT
> >      // Preferred width computation sums up floats while line breaker substracts them. This can lead to epsilon-scale differences.
> 
> I think this test should move too.
Oh right! good catch
Comment 5 zalan 2020-01-15 12:10:51 PST
Created attachment 387817 [details]
Patch
Comment 6 WebKit Commit Bot 2020-01-15 14:47:46 PST
The commit-queue encountered the following flaky tests while processing attachment 387817 [details]:

editing/spelling/spellcheck-async-remove-frame.html bug 158401 (authors: morrita@google.com, rniwa@webkit.org, and tony@chromium.org)
The commit-queue is continuing to process your patch.
Comment 7 WebKit Commit Bot 2020-01-15 14:47:51 PST
The commit-queue encountered the following flaky tests while processing attachment 387817 [details]:

media/track/track-in-band-metadata-display-order.html bug 206226 (author: jer.noble@apple.com)
The commit-queue is continuing to process your patch.
Comment 8 WebKit Commit Bot 2020-01-15 15:02:17 PST
Comment on attachment 387817 [details]
Patch

Rejecting attachment 387817 [details] from commit-queue.

New failing tests:
imported/w3c/web-platform-tests/css/css-text/white-space/pre-wrap-016.html
imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-009.html
fast/selectors/text-field-selection-stroke-color.html
imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-007.html
fast/forms/negativeLineHeight-simple-lines.html
imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-002.html
fast/text/break-word.html
fast/forms/textarea-placeholder-wrapping.html
imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-003.html
imported/w3c/web-platform-tests/css/css-text/white-space/pre-wrap-008.html
fast/forms/basic-textareas-quirks-simple-lines.html
fast/forms/linebox-overflow-in-textarea-padding-simple-lines.html
imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-006.html
imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-008.html
fast/text/word-break.html
imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-005.html
fast/text/simple-line-layout-wrapping-multiple-renderers-hang.html
fast/selectors/text-field-selection-window-inactive-stroke-color.html
imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-004.html
imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-004.html
Full output: https://webkit-queues.webkit.org/results/13305038
Comment 9 WebKit Commit Bot 2020-01-15 15:02:18 PST
Created attachment 387853 [details]
Archive of layout-test-results from webkit-cq-02 for mac-mojave

The attached test failures were seen while running run-webkit-tests on the commit-queue.
Bot: webkit-cq-02  Port: mac-mojave  Platform: Mac OS X 10.14.6
Comment 10 zalan 2020-01-15 16:36:50 PST
Created attachment 387868 [details]
Patch
Comment 11 WebKit Commit Bot 2020-01-15 18:23:45 PST
Comment on attachment 387868 [details]
Patch

Clearing flags on attachment: 387868

Committed r254661: <https://trac.webkit.org/changeset/254661>
Comment 12 WebKit Commit Bot 2020-01-15 18:23:47 PST
All reviewed patches have been landed.  Closing bug.