Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9de4589d1aab3070929e8425c4a12babb5dd6c8b
https://github.com/WebKit/WebKit/commit/9de4589d1aab3070929e8425c4a12babb5dd6c8b
Author: Antoine Quint <[email protected]>
Date: 2025-06-23 (Mon, 23 Jun 2025)
Changed paths:
M Source/WebCore/animation/KeyframeEffect.cpp
M Source/WebCore/page/Quirks.cpp
M Source/WebCore/page/Quirks.h
M Source/WebCore/page/QuirksData.h
Log Message:
-----------
ea.com: top bar separates when scrolling down any page, causing a tear in the
UI
https://bugs.webkit.org/show_bug.cgi?id=294840
rdar://106770785
Reviewed by Anne van Kesteren.
There are two issues here:
1. paint performance is suboptimal as we scroll and we take upwards of 18ms,
2. we are running separate animations that we would hope to be in sync but
cannot be because
one is accelerated and the other isn’t and a gap shows. Due to our
architecture for running
such animations, one will run at 120fps and the other one will top up at
60fps.
We address this bug by introducing a quirk to disable the `transform`
accelerated animation
targeting the `<ea-network-nav>` element on all ea.com pages.
* Source/WebCore/animation/KeyframeEffect.cpp:
(WebCore::KeyframeEffect::canBeAccelerated const):
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldPreventKeyframeEffectAcceleration const):
(WebCore::handleEAQuirks):
(WebCore::Quirks::determineRelevantQuirks):
* Source/WebCore/page/Quirks.h:
* Source/WebCore/page/QuirksData.h:
Canonical link: https://commits.webkit.org/296517@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes