Bug 245497

Summary: Slow page load on interspeech2022.org/program
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description zalan 2022-09-21 12:09:26 PDT
<rdar://99349200>
Comment 1 zalan 2022-09-21 12:13:33 PDT
Created attachment 462513 [details]
Patch
Comment 2 Antti Koivisto 2022-09-21 12:26:53 PDT
Comment on attachment 462513 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=462513&action=review

> Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp:465
> +    if (inlineTextBox.style() != inlineTextBox.firstLineStyle() && inlineTextBox.style().fontCascade() != inlineTextBox.firstLineStyle().fontCascade())

For a faster test you can do pointer comparison &inlineTextBox.style() != &inlineTextBox.firstLineStyle()
Comment 3 zalan 2022-09-21 13:26:12 PDT
Created attachment 462516 [details]
Patch
Comment 4 EWS 2022-09-21 21:27:57 PDT
Committed 254748@main (fc862888d83a): <https://commits.webkit.org/254748@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 462516 [details].