Bug 219235 - [LFC][IFC] Treat floats as soft wrap opportunities
Summary: [LFC][IFC] Treat floats as soft wrap opportunities
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-11-21 10:41 PST by zalan
Modified: 2020-11-21 12:06 PST (History)
5 users (show)

See Also:


Attachments
Patch (4.93 KB, patch)
2020-11-21 10:45 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-11-21 10:41:31 PST
While floats are not part of the inline content and they are not supposed to introduce soft wrap opportunity,
e.g. [text][float box][float box][text][float box][text] is essentially just [text][text][text]
figuring out whether a float (or set of floats) should stay on the line or not (and handle potentially out of order inline items) brings in unnecessary complexity (and apparently Blink works like that too)
Comment 1 zalan 2020-11-21 10:45:17 PST
Created attachment 414766 [details]
Patch
Comment 2 EWS 2020-11-21 12:05:18 PST
Committed r270151: <https://trac.webkit.org/changeset/270151>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 414766 [details].
Comment 3 Radar WebKit Bug Importer 2020-11-21 12:06:16 PST
<rdar://problem/71657211>