WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
257422
Documents with many lines overallocated pagination information
https://bugs.webkit.org/show_bug.cgi?id=257422
Summary
Documents with many lines overallocated pagination information
Ahmad Saleem
Reported
2023-05-27 10:36:41 PDT
Hi Team, I came across potential memory saving commit from Blink, which we can merge, if we can have AB test to confirm, it does benefit us. Blink Commit:
https://src.chromium.org/viewvc/blink?view=revision&revision=170497
Testcase URL (used by Blink):
http://norvig.com/big.txt
WebKit Source:
https://searchfox.org/wubkat/source/Source/WebCore/rendering/LegacyRootInlineBox.cpp#288
^ It is in Legacy Inline rather than IFC. So don't know how much we can benefit from it. _________ This compiles: auto* layoutState = blockFlow().view().frameView().layoutContext().layoutState(); if (layoutState->isPaginated()) setPaginatedLineWidth(blockFlow().availableLogicalWidthForContent(heightOfBlock)); _________ Just wanted to raise to get input and insight. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2023-05-31 07:45:04 PDT
Based on discussion with Alan over Slack 1-1, this is not applicable.
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