[webkit-changes] [WebKit/WebKit] f2ae3f: Add Element::hasClassName
Yusuke Suzuki
noreply at github.com
Thu May 9 11:39:01 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f2ae3f6424c5f386f2baccac56add011938f4093
https://github.com/WebKit/WebKit/commit/f2ae3f6424c5f386f2baccac56add011938f4093
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M Source/WebCore/css/SelectorChecker.cpp
M Source/WebCore/dom/Element.h
M Source/WebCore/dom/ElementInlines.h
M Source/WebCore/dom/ImageOverlay.cpp
M Source/WebCore/dom/SelectorQuery.cpp
M Source/WebCore/editing/TextManipulationController.cpp
M Source/WebCore/page/Quirks.cpp
M Source/WebCore/style/StyleAdjuster.cpp
Log Message:
-----------
Add Element::hasClassName
https://bugs.webkit.org/show_bug.cgi?id=273925
rdar://127789854
Reviewed by Ryosuke Niwa.
This patch cherry-picks [1]. Simply this is good as a refactoring.
[1]: https://chromium-review.googlesource.com/c/chromium/src/+/5479574
* Source/WebCore/css/SelectorChecker.cpp:
(WebCore::SelectorChecker::checkOne const):
* Source/WebCore/dom/Element.h:
* Source/WebCore/dom/ElementInlines.h:
(WebCore::Element::hasClassName const):
* Source/WebCore/dom/ImageOverlay.cpp:
(WebCore::ImageOverlay::isDataDetectorResult):
(WebCore::ImageOverlay::updateSubtree):
* Source/WebCore/dom/SelectorQuery.cpp:
(WebCore::SelectorDataList::executeSingleClassNameSelectorData const):
* Source/WebCore/editing/TextManipulationController.cpp:
(WebCore::TextManipulationControllerExclusionRule::match const):
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldTooltipPreventFromProceedingWithClick const):
(WebCore::Quirks::shouldBypassBackForwardCache const):
(WebCore::elementHasClassInClosestAncestors):
* Source/WebCore/style/StyleAdjuster.cpp:
(WebCore::Style::Adjuster::adjustForSiteSpecificQuirks const):
Canonical link: https://commits.webkit.org/278580@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list