Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ac61e69deac6865aacd3873906635aaa1bab80dd
https://github.com/WebKit/WebKit/commit/ac61e69deac6865aacd3873906635aaa1bab80dd
Author: Cole Carley <[email protected]>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M LayoutTests/fast/quirks/active-quirks-by-domain-expected.txt
M LayoutTests/fast/quirks/active-quirks-by-domain.html
M LayoutTests/platform/glib/fast/quirks/active-quirks-by-domain-expected.txt
M LayoutTests/platform/ios/fast/quirks/active-quirks-by-domain-expected.txt
M LayoutTests/platform/ipad/fast/quirks/active-quirks-by-domain-expected.txt
M
LayoutTests/platform/mac-sequoia/fast/quirks/active-quirks-by-domain-expected.txt
M
LayoutTests/platform/mac-tahoe/fast/quirks/active-quirks-by-domain-expected.txt
M Source/WebCore/page/QuirkBehaviors.h
M Source/WebCore/page/QuirkTable.cpp
M Source/WebCore/page/Quirks.cpp
M Source/WebCore/page/Quirks.h
M Tools/TestWebKitAPI/Tests/WebCore/Quirks.cpp
Log Message:
-----------
[Quirks] Move element selector Quirks into the Quirks table
https://bugs.webkit.org/show_bug.cgi?id=324605
rdar://187836751
Reviewed by Brent Fulgham.
This patch moves Quirks into the Quirk table that can use the new
conditional element selectors.
Test: Tools/TestWebKitAPI/Tests/WebCore/Quirks.cpp
* LayoutTests/fast/quirks/active-quirks-by-domain-expected.txt:
* LayoutTests/fast/quirks/active-quirks-by-domain.html:
* LayoutTests/platform/glib/fast/quirks/active-quirks-by-domain-expected.txt:
* LayoutTests/platform/ios/fast/quirks/active-quirks-by-domain-expected.txt:
* LayoutTests/platform/ipad/fast/quirks/active-quirks-by-domain-expected.txt:
*
LayoutTests/platform/mac-sequoia/fast/quirks/active-quirks-by-domain-expected.txt:
*
LayoutTests/platform/mac-tahoe/fast/quirks/active-quirks-by-domain-expected.txt:
* Source/WebCore/page/QuirkBehaviors.h:
* Source/WebCore/page/QuirkTable.cpp:
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::behaviorAppliesToNode const):
(WebCore::Quirks::shouldDispatchSimulatedMouseEvents const):
(WebCore::Quirks::shouldDispatchedSimulatedMouseEventsAssumeDefaultPrevented
const):
(WebCore::Quirks::shouldAllowNativeTapsOnMediaElements const):
(WebCore::Quirks::triggerOptionalStorageAccessQuirk const):
(WebCore::Quirks::shouldIgnoreContentObservationForClick const):
(WebCore::Quirks::shouldHideSoftTopScrollEdgeEffectDuringFocus const):
(WebCore::Quirks::shouldSynthesizeTouchEventsAfterNonSyntheticClick const):
(WebCore::Quirks::needsExpediaGroupAnimationQuirk const):
(WebCore::Quirks::shouldPreventKeyframeEffectAcceleration const):
(WebCore::isKinjaLoginAvatarElement): Deleted.
(WebCore::isStorageAccessQuirkDomainAndElement): Deleted.
(WebCore::accessibilityRole): Deleted.
* Source/WebCore/page/Quirks.h:
* Tools/TestWebKitAPI/Tests/WebCore/Quirks.cpp:
(TestWebKitAPI::TEST_F(QuirksTest,
MergeUnionsFlagsAndSitesAndConcatenatesBehaviors)):
(TestWebKitAPI::selectorsFor):
(TestWebKitAPI::TEST_F(QuirksTest,
SitesThatAssumeDefaultPreventedScopeItToTheTargetElement)):
(TestWebKitAPI::TEST_F(QuirksTest,
ContentObservationSelectorsAreScopedPerSite)):
(TestWebKitAPI::TEST_F(QuirksTest,
OutlookSwatchPickerSelectorMatchesTheIDPrefix)):
(TestWebKitAPI::TEST_F(QuirksTest, SingleSiteSelectorConditions)):
(TestWebKitAPI::TEST_F(QuirksTest, SingleSiteSelectorConditionsOnIOS)):
(TestWebKitAPI::TEST_F(QuirksTest, StorageAccessQuirksCarrySignInSelectors)):
(TestWebKitAPI::TEST_F(QuirksTest,
YouTubeWatchLaterStorageAccessIsEmbeddedOnly)):
(TestWebKitAPI::TEST_F(QuirksTest,
MigratedSelectorsMatchWhatTheHandWrittenChecksDid)):
(TestWebKitAPI::TEST_F(QuirksTest,
GoogleDocsPromotionSelectorStopsAtTheGrandparent)):
(TestWebKitAPI::TEST_F(QuirksTest,
ExpediaMenuSelectorMatchesInEitherDocumentMode)):
(TestWebKitAPI::TEST_F(QuirksTest,
KinjaAvatarSelectorCoversTheSVGAndItsDirectPath)):
Canonical link: https://commits.webkit.org/321770@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications