Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f30aa1e23991cb7a6b8cd04d9954934ee51fece3
https://github.com/WebKit/WebKit/commit/f30aa1e23991cb7a6b8cd04d9954934ee51fece3
Author: Cameron McCormack <[email protected]>
Date: 2026-07-16 (Thu, 16 Jul 2026)
Changed paths:
A LayoutTests/fast/repaint/view-transition-name-dynamic-expected.txt
A LayoutTests/fast/repaint/view-transition-name-dynamic.html
M Source/WebCore/style/StyleDifference.cpp
Log Message:
-----------
A dynamic view-transition-name change does not repaint the affected element.
https://bugs.webkit.org/show_bug.cgi?id=315908
rdar://problem/178316558
Reviewed by Dan Glastonbury and Tim Nguyen.
Changing view-transition-name can change whether the element forms a
stacking context, which can reorder painting. Ensure we repaint the
element when it changes.
This fixes view-transition-name-stacking-context-dynamic.html when run
with wptrunner.
* Source/WebCore/style/StyleDifference.cpp:
(WebCore::Style::DifferenceFunctions::rareDataChangeRequiresRepaint):
* LayoutTests/fast/repaint/view-transition-name-dynamic.html: Added.
* LayoutTests/fast/repaint/view-transition-name-dynamic-expected.txt: Added.
Canonical link: https://commits.webkit.org/317310@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications