Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c8fabad441d9666961f79a3668eb7d5884f4dec4
https://github.com/WebKit/WebKit/commit/c8fabad441d9666961f79a3668eb7d5884f4dec4
Author: Alan Baradlay <[email protected]>
Date: 2025-12-04 (Thu, 04 Dec 2025)
Changed paths:
M Source/WebCore/layout/LayoutState.cpp
M Source/WebCore/layout/LayoutState.h
M
Source/WebCore/layout/integration/LayoutIntegrationFormattingContextLayout.cpp
M
Source/WebCore/layout/integration/LayoutIntegrationFormattingContextLayout.h
M Source/WebCore/layout/integration/LayoutIntegrationUtils.cpp
M Source/WebCore/layout/integration/LayoutIntegrationUtils.h
M Source/WebCore/rendering/RenderBlockFlow.cpp
Log Message:
-----------
[cleanup] RenderBlockFlow::BlockPositionAndMargin's logicalTop should return
logical top instead of an offset
https://bugs.webkit.org/show_bug.cgi?id=303501
Reviewed by Antti Koivisto.
Let's make logicalTop hold the offset relative to the containing block instead
of relative to the current "line".
* Source/WebCore/layout/LayoutState.cpp:
(WebCore::Layout::LayoutState::layoutWithFormattingContextForBlockInInline
const):
* Source/WebCore/layout/LayoutState.h:
*
Source/WebCore/layout/integration/LayoutIntegrationFormattingContextLayout.cpp:
(WebCore::LayoutIntegration::layoutWithFormattingContextForBlockInInline):
* Source/WebCore/layout/integration/LayoutIntegrationFormattingContextLayout.h:
* Source/WebCore/layout/integration/LayoutIntegrationUtils.cpp:
(WebCore::Layout::IntegrationUtils::layoutWithFormattingContextForBlockInInline
const):
* Source/WebCore/layout/integration/LayoutIntegrationUtils.h:
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::layoutBlockChildFromInlineLayout):
Canonical link: https://commits.webkit.org/303909@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications