Bug 245497 - Slow page load on interspeech2022.org/program
Summary: Slow page load on interspeech2022.org/program
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-09-21 12:09 PDT by zalan
Modified: 2022-09-21 21:27 PDT (History)
5 users (show)

See Also:


Attachments
Patch (1.72 KB, patch)
2022-09-21 12:13 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch (1.72 KB, patch)
2022-09-21 13:26 PDT, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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].