⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 269038 in webkit


Ignore:
Timestamp:
Oct 27, 2020, 6:56:30 AM (6 years ago)
Author:
Antti Koivisto
Message:

Assert in BoxTree::layoutBoxForRenderer() under RenderLayer::updateScrollCornerStyle()
​https://bugs.webkit.org/show_bug.cgi?id=218205
<rdar://problem/70694256>

Reviewed by Zalan Bujtas.

  • layout/integration/LayoutIntegrationLineLayout.cpp:

(WebCore::LayoutIntegration::LineLayout::containing):

Similar to RenderReplica, RenderScrollbarPart is a fake renderer that is not in the tree even
though it has the parent pointer set.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r269037 r269038  
     12020-10-27  Antti Koivisto  <antti@apple.com>
     2
     3        Assert in BoxTree::layoutBoxForRenderer() under RenderLayer::updateScrollCornerStyle()
     4        https://bugs.webkit.org/show_bug.cgi?id=218205
     5        <rdar://problem/70694256>
     6
     7        Reviewed by Zalan Bujtas.
     8
     9        * layout/integration/LayoutIntegrationLineLayout.cpp:
     10        (WebCore::LayoutIntegration::LineLayout::containing):
     11
     12        Similar to RenderReplica, RenderScrollbarPart is a fake renderer that is not in the tree even
     13        though it has the parent pointer set.
     14
    1152020-10-27  Zalan Bujtas  <zalan@apple.com>
    216
  • trunk/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp

    r268994 r269038  
    7272        return nullptr;
    7373
    74     if (renderer.isReplica())
     74    // FIXME: These fake renderers have their parent set but are not actually in the tree.
     75    if (renderer.isReplica() || renderer.isRenderScrollbarPart())
    7576        return nullptr;
    7677   
Note: See TracChangeset for help on using the changeset viewer.