Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bae2c93abc1340b1bb56d6b799ba72247f549613
      
https://github.com/WebKit/WebKit/commit/bae2c93abc1340b1bb56d6b799ba72247f549613
  Author: Alan Baradlay <[email protected]>
  Date:   2025-10-03 (Fri, 03 Oct 2025)

  Changed paths:
    M 
LayoutTests/fast/flexbox/svg-as-flex-item-with-percent-height-expected.html
    M LayoutTests/fast/flexbox/svg-as-flex-item-with-percent-height.html
    M Source/WebCore/rendering/RenderBox.cpp
    M Source/WebCore/rendering/RenderFlexibleBox.cpp
    M Source/WebCore/rendering/RenderFlexibleBox.h

  Log Message:
  -----------
  [Flex] Navigation buttons jump around when moving between pages on training 
pages (part 2)
https://bugs.webkit.org/show_bug.cgi?id=300070

Reviewed by Antti Koivisto.

This is a re-land of 289896@main and 292078@main and with fixing the subtree 
layout part.
- when the flex item is the root of the layout (subtree layout), instead of 
returning 'false' here let's return what it would be if it was a regular layout.

* LayoutTests/fast/flexbox/svg-as-flex-item-with-percent-height-expected.html:
* LayoutTests/fast/flexbox/svg-as-flex-item-with-percent-height.html: make the 
test case less flaky.
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::hasAutoHeightOrContainingBlockWithAutoHeight const):
* Source/WebCore/rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::layoutBlock):
(WebCore::RenderFlexibleBox::canUseFlexItemForPercentageResolution):
(WebCore::RenderFlexibleBox::usedFlexItemOverridingLogicalHeightForPercentageResolution):
(WebCore::RenderFlexibleBox::canUseFlexItemForPercentageResolutionByStyle): 
Deleted.
* Source/WebCore/rendering/RenderFlexibleBox.h:

Canonical link: https://commits.webkit.org/300935@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