Bug 219235

Summary: [LFC][IFC] Treat floats as soft wrap opportunities
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   
Attachments:
Description Flags
Patch none

zalan
Reported 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)
Attachments
Patch (4.93 KB, patch)
2020-11-21 10:45 PST, zalan
no flags
zalan
Comment 1 2020-11-21 10:45:17 PST
EWS
Comment 2 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].
Radar WebKit Bug Importer
Comment 3 2020-11-21 12:06:16 PST
Note You need to log in before you can comment on or make changes to this bug.