Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b9b68de2b21d524a7a38049d6cab2cda55ed38bb
https://github.com/WebKit/WebKit/commit/b9b68de2b21d524a7a38049d6cab2cda55ed38bb
Author: Antti Koivisto <[email protected]>
Date: 2026-01-20 (Tue, 20 Jan 2026)
Changed paths:
A LayoutTests/fast/repaint/table-in-inline-repaint-expected.txt
A LayoutTests/fast/repaint/table-in-inline-repaint.html
M LayoutTests/platform/glib/TestExpectations
M Source/WebCore/rendering/RenderBlockFlow.cpp
Log Message:
-----------
[blocks-in-inline] wpt.fyi/runs paints too much
https://bugs.webkit.org/show_bug.cgi?id=305818
rdar://168483436
Reviewed by Alan Baradlay.
With blocks-in-inline enabled we sometimes repaint more than before.
Test: fast/repaint/table-in-inline-repaint.html
* LayoutTests/fast/repaint/table-in-inline-repaint-expected.txt: Added.
* LayoutTests/fast/repaint/table-in-inline-repaint.html: Added.
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::layoutSimpleBlockContentInInline):
Disabllow tables from fast path as there is a bad interaction with their
painting
that does not exist on normal path.
(WebCore::RenderBlockFlow::markInlineContentDirtyForLayout):
Don't mark block content with relative units as needing relayout. It is not
needed for
block layout and dirty layout will force repaint.
Canonical link: https://commits.webkit.org/305878@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications