Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8bbb6a4c37f22056b374f8eae7b9bb391ab1c3b1
https://github.com/WebKit/WebKit/commit/8bbb6a4c37f22056b374f8eae7b9bb391ab1c3b1
Author: Ahmad Saleem <[email protected]>
Date: 2026-06-09 (Tue, 09 Jun 2026)
Changed paths:
M Source/WebCore/rendering/RenderTable.cpp
Log Message:
-----------
Deduplicate the distribution loop in RenderTable::distributeExtraLogicalHeight
https://bugs.webkit.org/show_bug.cgi?id=316661
rdar://179113899
Reviewed by Alan Baradlay.
The proportional and equal-distribution branches ran the same "last section
gets the remainder, others get a per-index share" loop, differing only in how
the non-last share is computed. Collapse them into a single loop with a
shareForSection lambda. No change in behavior.
* Source/WebCore/rendering/RenderTable.cpp:
(WebCore::RenderTable::distributeExtraLogicalHeight):
Canonical link: https://commits.webkit.org/314826@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications