Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7ace4f23eca0eb8ae37e6f75f392d862a19788a8
https://github.com/WebKit/WebKit/commit/7ace4f23eca0eb8ae37e6f75f392d862a19788a8
Author: Alan Baradlay <[email protected]>
Date: 2025-06-26 (Thu, 26 Jun 2025)
Changed paths:
A
LayoutTests/fast/inline/mismatching-inline-baseline-and-empty-content-expected.html
A LayoutTests/fast/inline/mismatching-inline-baseline-and-empty-content.html
M Source/WebCore/rendering/RenderBlockFlow.cpp
Log Message:
-----------
Make the baseline of RenderTextControl consistent with or without text
https://bugs.webkit.org/show_bug.cgi?id=285562
<rdar://problem/142918746>
Reviewed by Antti Koivisto.
First and last baseline functions on blank blocks with "hasLineIfEmpty" should
behave like RenderBlockFlow::inlineBlockBaseline.
(Test case credit goes to
https://chromium.googlesource.com/chromium/src.git/+/a7c29f036fe5a14424096c7b021285b7faa1799f)
*
LayoutTests/fast/inline/mismatching-inline-baseline-and-empty-content-expected.html:
Added.
* LayoutTests/fast/inline/mismatching-inline-baseline-and-empty-content.html:
Added.
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::firstLineBaseline const):
(WebCore::RenderBlockFlow::lastLineBaseline const):
Canonical link: https://commits.webkit.org/296666@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes