Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1a4959121addc0ef3adb2f563de4dab5755b7132
https://github.com/WebKit/WebKit/commit/1a4959121addc0ef3adb2f563de4dab5755b7132
Author: Alan Baradlay <[email protected]>
Date: 2026-01-07 (Wed, 07 Jan 2026)
Changed paths:
M Source/WebCore/rendering/PositionedLayoutConstraints.cpp
M Source/WebCore/rendering/PositionedLayoutConstraints.h
Log Message:
-----------
[cleanup] Let computeInlineStaticDistance/computeBlockStaticDistance simply
return static distance
https://bugs.webkit.org/show_bug.cgi?id=304987
Reviewed by Antti Koivisto.
Move some of the static position logic back to computeStaticPosition (shared by
both inline and block values).
This is also in preparation for fixing webkit.org/b/276350 where we need to
have access to static position values.
* Source/WebCore/rendering/PositionedLayoutConstraints.cpp:
(WebCore::PositionedLayoutConstraints::computeStaticPosition):
(WebCore::PositionedLayoutConstraints::computedInlineStaticDistance const):
(WebCore::PositionedLayoutConstraints::computedBlockStaticDistance const):
(WebCore::PositionedLayoutConstraints::computeInlineStaticDistance): Deleted.
(WebCore::PositionedLayoutConstraints::computeBlockStaticDistance): Deleted.
* Source/WebCore/rendering/PositionedLayoutConstraints.h:
Canonical link: https://commits.webkit.org/305218@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications