[Webkit-unassigned] [Bug 222202] REGRESSION (r266695): twitch.tv: when in fullscreen, WebKit continually does 350ms layouts. Firefox and Chrome do not

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 22 01:19:59 PST 2021


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

--- Comment #7 from Sergio Villar Senin <svillar at igalia.com> ---
I haven't inspected the page in detail but if it's using nested column flexboxes with percentages then it could indeed hit hard because in the calls to updateBlockChildDirtyBitsBeforeLayout() we have:

    if (relayoutChildren || (child.hasRelativeLogicalHeight() && !isRenderView()))

That very same method has the following comment:
    // FIXME: Technically percentage height objects only need a relayout if their percentage isn't going to be turned into
    // an auto value. Add a method to determine this, so that we can avoid the relayout.

However changing it seems risky as it might potentially affect everything not only flexbox.

-- 
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/20210222/8bdc79cc/attachment.htm>


More information about the webkit-unassigned mailing list