[webkit-changes] [WebKit/WebKit] b0a312: [IFC] Disable partial layout when replaced box wit...
Alan Baradlay
noreply at github.com
Thu Sep 5 09:15:41 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b0a31267b91259ef955f664e1c4172accebc5179
https://github.com/WebKit/WebKit/commit/b0a31267b91259ef955f664e1c4172accebc5179
Author: Alan Baradlay <zalan at apple.com>
Date: 2024-09-05 (Thu, 05 Sep 2024)
Changed paths:
M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
Log Message:
-----------
[IFC] Disable partial layout when replaced box with relative dimension(s) is present
https://bugs.webkit.org/show_bug.cgi?id=278407
Reviewed by Antti Koivisto.
Unlike other inline content, boxes with relative dimensions (e.g. width: 50%) are marked dirty right
before layout (see RenderBlockFlow::layoutModernLines and the commit message in 240772 at main for more info).
Unfortunately such boxes skip the normal IFC invalidation flow which may cause incorrect rendering.
Let's disable partial rendering for now when seeing boxes with relative dimension(s).
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::shouldInvalidateLineLayoutPathAfterChangeFor):
Canonical link: https://commits.webkit.org/283213@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