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

Changeset 280834 in webkit


Ignore:
Timestamp:
Aug 10, 2021, 2:27:27 AM (5 years ago)
Author:
Adrian Perez de Castro
Message:

Merge r274144 - [Multi-column] Adjust fragmented flow state of the out-of-flow descendants
https://bugs.webkit.org/show_bug.cgi?id=222958
<rdar://74865741>

Reviewed by Antti Koivisto.

When a block container's style change from positioned to non-positioned and it is part of a multi-column context,
we need to make sure that the out-of-flow positined descendants' flow state are updated accordingly (as
they may not be part of the multi-column context anymore).

  • rendering/RenderElement.cpp:

(WebCore::RenderElement::adjustFragmentedFlowStateOnContainingBlockChangeIfNeeded):

Location:
releases/WebKitGTK/webkit-2.32/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.32/Source/WebCore/ChangeLog

    r280833 r280834  
     12021-03-09  Zalan Bujtas  <zalan@apple.com>
     2
     3        [Multi-column] Adjust fragmented flow state of the out-of-flow descendants
     4        https://bugs.webkit.org/show_bug.cgi?id=222958
     5        <rdar://74865741>
     6
     7        Reviewed by Antti Koivisto.
     8
     9        When a block container's style change from positioned to non-positioned and it is part of a multi-column context,
     10        we need to make sure that the out-of-flow positined descendants' flow state are updated accordingly (as
     11        they may not be part of the multi-column context anymore).
     12
     13        * rendering/RenderElement.cpp:
     14        (WebCore::RenderElement::adjustFragmentedFlowStateOnContainingBlockChangeIfNeeded):
     15
    1162021-03-08  Julian Gonzalez  <julian_a_gonzalez@apple.com>
    217
  • releases/WebKitGTK/webkit-2.32/Source/WebCore/rendering/RenderElement.cpp

    r272931 r280834  
    21782178        downcast<RenderBlock>(*this).resetEnclosingFragmentedFlowAndChildInfoIncludingDescendants();
    21792179    else {
    2180         // Relatively positioned inline boxes can have absolutely positioned block children. We need to reset them as well.
    2181         for (auto& descendant : childrenOfType<RenderBlock>(*this))
     2180        // Relatively positioned inline boxes can have absolutely positioned block descendants. We need to reset them as well.
     2181        for (auto& descendant : descendantsOfType<RenderBlock>(*this))
    21822182            descendant.resetEnclosingFragmentedFlowAndChildInfoIncludingDescendants();
    21832183    }
Note: See TracChangeset for help on using the changeset viewer.