RESOLVED FIXED303008
[blocks-in-inline] Add spanning inline boxes on block lines
https://bugs.webkit.org/show_bug.cgi?id=303008
Summary [blocks-in-inline] Add spanning inline boxes on block lines
alan
Reported 2025-11-22 10:06:16 PST
ssia
Attachments
Patch (8.46 KB, patch)
2025-11-22 10:12 PST, alan
ews-feeder: commit-queue-
Patch (8.24 KB, patch)
2025-11-22 10:59 PST, alan
ews-feeder: commit-queue-
Patch (8.24 KB, patch)
2025-11-22 13:12 PST, alan
no flags
Patch (8.26 KB, patch)
2025-11-22 13:37 PST, alan
no flags
[fast-cq]Patch (9.95 KB, patch)
2025-11-22 19:59 PST, alan
no flags
alan
Comment 1 2025-11-22 10:12:15 PST
Antti Koivisto
Comment 2 2025-11-22 10:17:45 PST
Comment on attachment 477477 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=477477&action=review > Source/WebCore/layout/formattingContexts/inline/LineLayoutResult.h:105 > - if (!runs.isEmpty() && runs[0].isBlock()) > - return InflowContentType::Block; > + for (auto& run : runs) { > + if (run.isBlock()) > + return InflowContentType::Block; > + ASSERT(run.isInlineBox()); > + } couldn't this be runs.last().isBlock()?
alan
Comment 3 2025-11-22 10:53:18 PST
(In reply to Antti Koivisto from comment #2) > Comment on attachment 477477 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=477477&action=review > > > Source/WebCore/layout/formattingContexts/inline/LineLayoutResult.h:105 > > - if (!runs.isEmpty() && runs[0].isBlock()) > > - return InflowContentType::Block; > > + for (auto& run : runs) { > > + if (run.isBlock()) > > + return InflowContentType::Block; > > + ASSERT(run.isInlineBox()); > > + } > > couldn't this be runs.last().isBlock()? You are absolutely right. Let me fix that.
alan
Comment 4 2025-11-22 10:59:30 PST
alan
Comment 5 2025-11-22 13:12:50 PST
alan
Comment 6 2025-11-22 13:37:39 PST
alan
Comment 7 2025-11-22 19:59:30 PST
Created attachment 477482 [details] [fast-cq]Patch
EWS
Comment 8 2025-11-23 05:07:44 PST
Committed 303460@main (2b73cf2c0e08): <https://commits.webkit.org/303460@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 477482 [details].
Radar WebKit Bug Importer
Comment 9 2025-11-23 05:08:13 PST
Note You need to log in before you can comment on or make changes to this bug.