WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
303008
[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-
Details
Formatted Diff
Diff
Patch
(8.24 KB, patch)
2025-11-22 10:59 PST
,
alan
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch
(8.24 KB, patch)
2025-11-22 13:12 PST
,
alan
no flags
Details
Formatted Diff
Diff
Patch
(8.26 KB, patch)
2025-11-22 13:37 PST
,
alan
no flags
Details
Formatted Diff
Diff
[fast-cq]Patch
(9.95 KB, patch)
2025-11-22 19:59 PST
,
alan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
alan
Comment 1
2025-11-22 10:12:15 PST
Created
attachment 477477
[details]
Patch
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
Created
attachment 477478
[details]
Patch
alan
Comment 5
2025-11-22 13:12:50 PST
Created
attachment 477479
[details]
Patch
alan
Comment 6
2025-11-22 13:37:39 PST
Created
attachment 477480
[details]
Patch
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
<
rdar://problem/165300314
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug