[webkit-changes] [WebKit/WebKit] 45cf77: Move BlockStepSizing code to its own file
Sammy Gill
noreply at github.com
Wed Dec 4 16:10:50 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 45cf77d8f25bdccbb56bf765a6bac7bc0893e7e3
https://github.com/WebKit/WebKit/commit/45cf77d8f25bdccbb56bf765a6bac7bc0893e7e3
Author: Sammy Gill <sammy.gill at apple.com>
Date: 2024-12-04 (Wed, 04 Dec 2024)
Changed paths:
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
A Source/WebCore/rendering/BlockStepSizing.cpp
A Source/WebCore/rendering/BlockStepSizing.h
M Source/WebCore/rendering/RenderBlockFlow.cpp
Log Message:
-----------
Move BlockStepSizing code to its own file
rdar://140923146
https://bugs.webkit.org/show_bug.cgi?id=284049
Reviewed by Tim Nguyen.
These functions don't have to live on RenderBlockFlow so lets move them
to their own set of files.
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/rendering/BlockStepSizing.cpp: Added.
(WebCore::BlockStepSizing::childHasSupportedStyle):
(WebCore::BlockStepSizing::computeExtraSpace):
(WebCore::BlockStepSizing::distributeExtraSpaceToChildMargins):
(WebCore::BlockStepSizing::distributeExtraSpaceToChildPadding):
(WebCore::BlockStepSizing::distributeExtraSpaceToChildContentArea):
* Source/WebCore/rendering/BlockStepSizing.h: Added.
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::BlockStepSizing::childHasSupportedStyle): Deleted.
(WebCore::BlockStepSizing::computeExtraSpace): Deleted.
(WebCore::BlockStepSizing::distributeExtraSpaceToChildMargins): Deleted.
(WebCore::BlockStepSizing::distributeExtraSpaceToChildPadding): Deleted.
(WebCore::BlockStepSizing::distributeExtraSpaceToChildContentArea): Deleted.
Canonical link: https://commits.webkit.org/287371@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list