WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
230921
[LFC][IFC] Layout::Box should be able to return the first-line style when applicable
https://bugs.webkit.org/show_bug.cgi?id=230921
Summary
[LFC][IFC] Layout::Box should be able to return the first-line style when app...
zalan
Reported
2021-09-28 15:58:01 PDT
ssia
Attachments
Patch
(20.12 KB, patch)
2021-09-28 16:03 PDT
,
zalan
no flags
Details
Formatted Diff
Diff
Patch
(20.63 KB, patch)
2021-09-29 09:59 PDT
,
zalan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
zalan
Comment 1
2021-09-28 16:03:34 PDT
Created
attachment 439540
[details]
Patch
Antti Koivisto
Comment 2
2021-09-29 07:12:01 PDT
Comment on
attachment 439540
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=439540&action=review
> Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp:78 > + std::unique_ptr<RenderStyle> firstLineStyle; > + if (childRenderer.style() != childRenderer.firstLineStyle()) > + firstLineStyle = RenderStyle::clonePtr(childRenderer.firstLineStyle());
I think this can even do faster if (&renderer.style() != &renderer.firstLineStyle())
> Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp:167 > + if (renderer.style() != renderer.firstLineStyle())
This too
zalan
Comment 3
2021-09-29 09:59:13 PDT
Created
attachment 439618
[details]
Patch
EWS
Comment 4
2021-09-29 10:58:40 PDT
Committed
r283234
(
242276@main
): <
https://commits.webkit.org/242276@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 439618
[details]
.
Radar WebKit Bug Importer
Comment 5
2021-09-29 10:59:16 PDT
<
rdar://problem/83679025
>
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