Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9e7ce6e256fa569710698786ac9a26773c601f82
https://github.com/WebKit/WebKit/commit/9e7ce6e256fa569710698786ac9a26773c601f82
Author: Dan Glastonbury <[email protected]>
Date: 2026-06-02 (Tue, 02 Jun 2026)
Changed paths:
M Source/WebCore/rendering/RenderBlock.cpp
Log Message:
-----------
[MotionMark] Skip redundant transform update in simplified layout
https://bugs.webkit.org/show_bug.cgi?id=314703
rdar://176948001
Reviewed by Simon Fraser.
simplifiedLayout() only enters when !selfNeedsLayout(), meaning the block's
own dimensions are settled from its last full layout and the transform
computed in styleChanged() is still valid.
The one exception is tryLayoutDoingOutOfFlowMovementOnly(), which calls
updateLogicalHeight() and may change the block's height. If that path runs,
transform-origin (which resolves against the reference box) could become
stale, so we must call updateLayerTransform() in that case.
Skip the call in the common case to avoid redundant work.
* Source/WebCore/rendering/RenderBlock.cpp:
(WebCore::RenderBlock::simplifiedLayout):
Canonical link: https://commits.webkit.org/314418@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications