[Webkit-unassigned] [Bug 257422] New: Documents with many lines overallocated pagination information

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 27 10:36:41 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=257422

            Bug ID: 257422
           Summary: Documents with many lines overallocated pagination
                    information
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

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!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230527/67a94815/attachment.htm>


More information about the webkit-unassigned mailing list