Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e6c06e224925bc374c4605c927ea61d409b4b7b3
https://github.com/WebKit/WebKit/commit/e6c06e224925bc374c4605c927ea61d409b4b7b3
Author: Yulun Wu <[email protected]>
Date: 2026-02-06 (Fri, 06 Feb 2026)
Changed paths:
M Source/WebCore/layout/formattingContexts/grid/GridLayout.cpp
Log Message:
-----------
[GFC] Unify duplicate margin computation logic in GridLayout
https://bugs.webkit.org/show_bug.cgi?id=307180
<rdar://169815804>
Reviewed by Sammy Gill.
Extract duplicate code between computeInlineMargins() and
computeBlockMargins(). No behavior change, just a refactor.
* Source/WebCore/layout/formattingContexts/grid/GridLayout.cpp:
(WebCore::Layout::computeMarginsForAxis):
(WebCore::Layout::GridLayout::computeInlineMargins):
(WebCore::Layout::GridLayout::computeBlockMargins):
Canonical link: https://commits.webkit.org/306988@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications