instead of looping through the candidate runs in LineBreaker.
Created attachment 409477 [details] Patch
Comment on attachment 409477 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=409477&action=review > Source/WebCore/layout/inlineformatting/InlineLineBuilder.cpp:240 > + if (isFullyCollapsible()) > + m_collapsibleTrailingWidth += logicalWidth; > + else { Can this early return avoiding the else branch?
Created attachment 409493 [details] Patch
(In reply to Antti Koivisto from comment #2) > Comment on attachment 409477 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=409477&action=review > > > Source/WebCore/layout/inlineformatting/InlineLineBuilder.cpp:240 > > + if (isFullyCollapsible()) > > + m_collapsibleTrailingWidth += logicalWidth; > > + else { > > Can this early return avoiding the else branch? absolutely!
Committed r267494: <https://trac.webkit.org/changeset/267494> All reviewed patches have been landed. Closing bug and clearing flags on attachment 409493 [details].
<rdar://problem/69451507>