[webkit-changes] [WebKit/WebKit] 1cca7f: [Cleanup] Move all computed value logic under a la...
Alan Baradlay
noreply at github.com
Thu Dec 26 09:44:20 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1cca7fed58b5feeb751f3203a8f468c4caad4413
https://github.com/WebKit/WebKit/commit/1cca7fed58b5feeb751f3203a8f468c4caad4413
Author: Alan Baradlay <zalan at apple.com>
Date: 2024-12-26 (Thu, 26 Dec 2024)
Changed paths:
M Source/WebCore/rendering/RenderBox.cpp
Log Message:
-----------
[Cleanup] Move all computed value logic under a lambda in RenderBox::computeLogicalHeight
https://bugs.webkit.org/show_bug.cgi?id=285148
Reviewed by Antti Koivisto.
1. Out of flow boxes should just early return.
2. Move RenderTable logic under computedHeightValue lambda (special casing even if it is a flex or grid item).
3. Move margin handling _after_ figuring out the computed logical height.
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::computeLogicalHeight const):
Canonical link: https://commits.webkit.org/288297@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