[webkit-changes] [WebKit/WebKit] e68d98: [Autosize] Percent height does not work well when ...
Alan Baradlay
noreply at github.com
Mon Jan 6 05:29:25 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e68d9854afc236df8c944168746d6dbeba32ec6c
https://github.com/WebKit/WebKit/commit/e68d9854afc236df8c944168746d6dbeba32ec6c
Author: Alan Baradlay <zalan at apple.com>
Date: 2025-01-06 (Mon, 06 Jan 2025)
Changed paths:
A LayoutTests/fast/dynamic/autosize-content-with-percent-to-viewport-expected.txt
A LayoutTests/fast/dynamic/autosize-content-with-percent-to-viewport.html
M Source/WebCore/page/LocalFrameView.h
M Source/WebCore/rendering/RenderBox.cpp
Log Message:
-----------
[Autosize] Percent height does not work well when viewport is the containing block
https://bugs.webkit.org/show_bug.cgi?id=285340
<rdar://138934644>
Reviewed by Antti Koivisto.
See the comment in computePercentageLogicalHeight.
* LayoutTests/fast/dynamic/autosize-content-with-percent-to-viewport-expected.txt: Added.
* LayoutTests/fast/dynamic/autosize-content-with-percent-to-viewport.html: Added.
* Source/WebCore/page/LocalFrameView.h:
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::computePercentageLogicalHeight const):
Canonical link: https://commits.webkit.org/288459@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