[webkit-changes] [WebKit/WebKit] 96361e: Scrollbar should be removed from hasOverridingLogi...
Ahmad Saleem
noreply at github.com
Sat Feb 18 01:07:14 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 96361e7e318dcf431d7ee4e1ec82c42e94d0c096
https://github.com/WebKit/WebKit/commit/96361e7e318dcf431d7ee4e1ec82c42e94d0c096
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2023-02-18 (Sat, 18 Feb 2023)
Changed paths:
M Source/WebCore/rendering/RenderBox.cpp
Log Message:
-----------
Scrollbar should be removed from hasOverridingLogicalHeight()
https://bugs.webkit.org/show_bug.cgi?id=252464
Reviewed by Alan Baradlay.
This patch is to align WebKit with Blink / Chromium.
Merge - https://chromium.googlesource.com/chromium/src.git/+/1cc9cb769dcf8459c12636b58d058311722b0221
When computing the percentage height of table cell children,
if the table cell has horizontal scrollbar we have to subtract
its height from the hasOverridingLogicalHeight().
* Source/WebCore/rendering/RenderBox.cpp;
(RenderBox::computePercentageLogicalHeight): Subtract 'scrollbarLogicalHeight'
Canonical link: https://commits.webkit.org/260503@main
More information about the webkit-changes
mailing list