RESOLVED FIXED303244
[cleanup] Rename IFC's blockLevelContent to blockContent
https://bugs.webkit.org/show_bug.cgi?id=303244
Summary [cleanup] Rename IFC's blockLevelContent to blockContent
alan
Reported 2025-11-28 14:20:24 PST
ssia
Attachments
Patch (12.66 KB, patch)
2025-11-28 14:48 PST, alan
no flags
[fast-cq]Patch (12.68 KB, patch)
2025-11-29 05:49 PST, alan
no flags
alan
Comment 1 2025-11-28 14:48:39 PST
Antti Koivisto
Comment 2 2025-11-28 23:41:50 PST
Comment on attachment 477558 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=477558&action=review > Source/WebCore/layout/integration/inline/InlineIteratorLineBox.cpp:184 > LeafBoxIterator LineBox::blockLevelBox() const should this also be just blockBox()?
Antti Koivisto
Comment 3 2025-11-28 23:43:32 PST
Comment on attachment 477558 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=477558&action=review > Source/WebCore/rendering/RenderBlockFlow.cpp:3794 > for (auto box = InlineIterator::firstRootInlineBoxFor(*this); box; box.traverseInlineBoxLineRightward()) { > auto lineBox = box->lineBox(); > - if (lineBox->hasBlockLevelContent()) { > - hasBlockLevelContent = true; > + if (lineBox->hasBlockContent()) { > + hasBlockContent = true; > continue; > } you need to update, this function is not here anymore
alan
Comment 4 2025-11-29 05:49:52 PST
Created attachment 477560 [details] [fast-cq]Patch
alan
Comment 5 2025-11-29 05:58:54 PST
(In reply to Antti Koivisto from comment #2) > Comment on attachment 477558 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=477558&action=review > > > Source/WebCore/layout/integration/inline/InlineIteratorLineBox.cpp:184 > > LeafBoxIterator LineBox::blockLevelBox() const > > should this also be just blockBox()? "block box" is a spec term for block level elements that are also block containers elements (e.g. <div>foobar</div>) and we have non-containers here too (.e.g <img style="display: block">) . (though we kinda diverged from the spec with "block level box" in [block-in-inline] too).
EWS
Comment 6 2025-11-29 07:27:12 PST
Committed 303639@main (7a673e1b74da): <https://commits.webkit.org/303639@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 477560 [details].
Radar WebKit Bug Importer
Comment 7 2025-11-29 07:28:12 PST
Note You need to log in before you can comment on or make changes to this bug.