Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2f4378eb7afab5629db0f64a2ef61954245ef0eb
      
https://github.com/WebKit/WebKit/commit/2f4378eb7afab5629db0f64a2ef61954245ef0eb
  Author: Alan Baradlay <[email protected]>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    M Source/WebCore/page/LocalFrameViewLayoutContext.cpp
    M Source/WebCore/rendering/RenderObject.cpp
    M Source/WebCore/rendering/updating/RenderTreeBuilder.cpp

  Log Message:
  -----------
  [RenderTreeBuilder] Out-of-flow box does not stretch its containing block 
(and not even its parent)
https://bugs.webkit.org/show_bug.cgi?id=272412

Reviewed by Antti Koivisto.

1. Out-of-flow boxes do not affect containing block's preferred width.
2. Merge multiple m_internalMovesType == IsInternalMove::No scopes.
2. Rearrange conditions in LocalFrameViewLayoutContext::scheduleLayout by 
moving the most common  isLayoutPending() to the top (we normally dirty more 
than one renderer at a time).
3. Modernize RenderObject::invalidateContainerPreferredLogicalWidths

* Source/WebCore/page/LocalFrameViewLayoutContext.cpp:
(WebCore::LocalFrameViewLayoutContext::scheduleLayout):
* Source/WebCore/rendering/RenderObject.cpp:
(WebCore::RenderObject::invalidateContainerPreferredLogicalWidths):
* Source/WebCore/rendering/updating/RenderTreeBuilder.cpp:
(WebCore::RenderTreeBuilder::attachToRenderElementInternal):

Canonical link: https://commits.webkit.org/277275@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to