[Webkit-unassigned] [Bug 266881] New: Early return in markContainingBlocksForLayout if selfNeedsLayout

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 25 06:52:21 PST 2023


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

            Bug ID: 266881
           Summary: Early return in markContainingBlocksForLayout if
                    selfNeedsLayout
           Product: WebKit
           Version: WebKit Nightly Build
          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,

While going through Blink's commit, I came across following potential optimization to early return.

Blink Commit: https://chromium.googlesource.com/chromium/blink/+/13ea2da72bafa52c4797939de0a669df44e6dd8e

WebKit Source: https://searchfox.org/wubkat/source/Source/WebCore/rendering/RenderObject.cpp#587

^ Above this:

This compiles:

if (ancestor->selfNeedsLayout())
    return;

___

Just wanted to raise to get input.

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/20231225/1d1cf9fc/attachment-0001.htm>


More information about the webkit-unassigned mailing list