RESOLVED FIXED 207612
[LFC][IFC] Do not create Display::Boxes for anonymous inline text boxes
https://bugs.webkit.org/show_bug.cgi?id=207612
Summary [LFC][IFC] Do not create Display::Boxes for anonymous inline text boxes
zalan
Reported 2020-02-11 20:24:30 PST
<div>foobar</div> [foobar] needs only a Display::Run but no Display::Box.
Attachments
Patch (4.36 KB, patch)
2020-02-11 20:27 PST, zalan
no flags
Patch (4.46 KB, patch)
2020-02-12 11:18 PST, zalan
no flags
Radar WebKit Bug Importer
Comment 1 2020-02-11 20:24:46 PST
zalan
Comment 2 2020-02-11 20:27:18 PST
Antti Koivisto
Comment 3 2020-02-12 08:30:25 PST
Comment on attachment 390488 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=390488&action=review > Source/WebCore/layout/inlineformatting/InlineFormattingContext.cpp:491 > if (lineRun.isLineBreak()) { > + auto& displayBox = formattingState.displayBox(layoutBox); Could we avoid this too?
zalan
Comment 4 2020-02-12 11:18:13 PST
WebKit Commit Bot
Comment 5 2020-02-12 12:01:19 PST
Comment on attachment 390540 [details] Patch Clearing flags on attachment: 390540 Committed r256466: <https://trac.webkit.org/changeset/256466>
WebKit Commit Bot
Comment 6 2020-02-12 12:01:21 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.