Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5dab3b1c428d8bf02d85fe068a67e9a5eb447cf6
https://github.com/WebKit/WebKit/commit/5dab3b1c428d8bf02d85fe068a67e9a5eb447cf6
Author: Antti Koivisto <[email protected]>
Date: 2025-10-28 (Tue, 28 Oct 2025)
Changed paths:
A LayoutTests/fast/css/hover-invalidation-no-jit-expected.html
A LayoutTests/fast/css/hover-invalidation-no-jit.html
M LayoutTests/platform/ios/TestExpectations
M Source/WebCore/css/SelectorChecker.cpp
Log Message:
-----------
Negative hover selector not working properly on hover in lockdown mode
https://bugs.webkit.org/show_bug.cgi?id=301090
rdar://163481884
Reviewed by Alan Baradlay.
We fail to invalidate for :not(:hover) when the CSS selector JIT is disabled.
Test: fast/css/hover-invalidation-no-jit.html
* LayoutTests/fast/css/hover-invalidation-no-jit-expected.html: Added.
* LayoutTests/fast/css/hover-invalidation-no-jit.html: Added.
* Source/WebCore/css/SelectorChecker.cpp:
(WebCore::SelectorChecker::checkOne const):
Remove the special case for invalidation mode. It is wrong in negation context
and our current invalidation system does not need it.
There is no corresponding code in SelectorCompiler anymore.
Canonical link: https://commits.webkit.org/302245@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications