Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0f8b6690f96e22f7d72990744c63978bea21bded
      
https://github.com/WebKit/WebKit/commit/0f8b6690f96e22f7d72990744c63978bea21bded
  Author: Alan Baradlay <[email protected]>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/flex/FlexFormattingUtils.cpp

  Log Message:
  -----------
  [cleanup] Return the flex item's margin from 
flowAwareMarginBeforeForFlexItem's unreachable fallback
https://bugs.webkit.org/show_bug.cgi?id=320572

Reviewed by Antti Koivisto.

flowAwareMarginBeforeForFlexItem returns a margin of the flex item, but the 
fallback after its switch returns one of
the flex container's. The four flow-aware accessors next to it are 
container-level, so returning flexBox().marginTop()
is right for them and was carried over to this one.

* Source/WebCore/layout/formattingContexts/flex/FlexFormattingUtils.cpp:
(WebCore::FlexFormattingUtils::flowAwareMarginBeforeForFlexItem const):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to