Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: aeac793ec439908c853c409d3d12c9e1fa579980
https://github.com/WebKit/WebKit/commit/aeac793ec439908c853c409d3d12c9e1fa579980
Author: Antti Koivisto <[email protected]>
Date: 2026-02-18 (Wed, 18 Feb 2026)
Changed paths:
M Source/WebCore/page/Quirks.cpp
M Source/WebCore/page/Quirks.h
M Source/WebCore/page/QuirksData.h
M Source/WebCore/style/StyleChangedAnimatableProperties.cpp
M Source/WebCore/style/StyleChangedAnimatableProperties.h
M Source/WebCore/style/Styleable.cpp
Log Message:
-----------
workspaces.xyz: (Regression: 305212@main) Hovering on menu makes it to be
jumpy
https://bugs.webkit.org/show_bug.cgi?id=307933
rdar://170412045
Reviewed by Simon Fraser and Sam Weinig.
Border width change is triggering spurious transitions on this site. The site
expects that if used value does not
change there is no transition.
Our new behavior matches the spec and Firefox (but not Chrome) so add a
site-specific quirk that maintains the old behavior.
This is a quirk version of the fix made by Sam Weinig.
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldComparareUsedValuesForBorderWidthForTriggeringTransitions
const):
(WebCore::handleWorkspacesQuirks):
(WebCore::Quirks::determineRelevantQuirks):
* Source/WebCore/page/Quirks.h:
* Source/WebCore/page/QuirksData.h:
* Source/WebCore/style/StyleChangedAnimatableProperties.cpp:
(WebCore::Style::conservativelyCollectChangedAnimatableProperties):
With quirk enabled don't transition border width properties if the used value
does not change.
* Source/WebCore/style/StyleChangedAnimatableProperties.h:
* Source/WebCore/style/Styleable.cpp:
(WebCore::Styleable::updateCSSTransitions const):
Canonical link: https://commits.webkit.org/307770@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications