[webkit-changes] [WebKit/WebKit] 30d2bb: [Flex] Fix imported/w3c/web-platform-tests/css/css...
Alan Baradlay
noreply at github.com
Tue Jul 23 14:30:14 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 30d2bb50e9efa40233b88b5ff1d2063a8732a478
https://github.com/WebKit/WebKit/commit/30d2bb50e9efa40233b88b5ff1d2063a8732a478
Author: Alan Baradlay <zalan at apple.com>
Date: 2024-07-23 (Tue, 23 Jul 2024)
Changed paths:
M LayoutTests/TestExpectations
M Source/WebCore/rendering/RenderBlock.cpp
Log Message:
-----------
[Flex] Fix imported/w3c/web-platform-tests/css/css-flexbox/fieldset-baseline-alignment.html
https://bugs.webkit.org/show_bug.cgi?id=276955
Reviewed by Antti Koivisto.
Current behavior:
inline formatting context root floors baseline to int.
regular block container returns fractional value when the block itself has non-integral logical top value.
This patch aligns regular block container baseline behavior with block containers acting as IFC roots.
* LayoutTests/TestExpectations: webkit.org/b/276915 takes care of fieldset baseline, while this change makes sure -expectation.html renders the same way.
* Source/WebCore/rendering/RenderBlock.cpp:
(WebCore::RenderBlock::firstLineBaseline const):
(WebCore::RenderBlock::lastLineBaseline const):
Canonical link: https://commits.webkit.org/281259@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