[webkit-changes] [WebKit/WebKit] e40f5d: Minor clean-ups to CSSSelector
Tim Nguyen
noreply at github.com
Tue Jan 2 17:10:48 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e40f5ded340f3b347308ff057438c596cd8f4752
https://github.com/WebKit/WebKit/commit/e40f5ded340f3b347308ff057438c596cd8f4752
Author: Tim Nguyen <ntim at apple.com>
Date: 2024-01-02 (Tue, 02 Jan 2024)
Changed paths:
M Source/WebCore/css/CSSSelector.cpp
M Source/WebCore/css/CSSSelector.h
M Source/WebCore/css/process-css-pseudo-selectors.py
Log Message:
-----------
Minor clean-ups to CSSSelector
https://bugs.webkit.org/show_bug.cgi?id=267009
rdar://120391046
Reviewed by Simon Fraser.
- Fix up indentation in CSSSelector.h
- Return `const ASCIILiteral` in generated code
- Remove unnecessary `CSSSelector::` namespace where possible
- Remove trailing whitespace
* Source/WebCore/css/CSSSelector.cpp:
(WebCore::CSSSelector::selectorText const):
(WebCore::CSSSelector::replaceNestingParentByPseudoClassScope):
* Source/WebCore/css/CSSSelector.h:
(WebCore::CSSSelector::selectorText):
(WebCore::CSSSelector::tagHistory const):
(WebCore::CSSSelector::argument const):
(WebCore::CSSSelector::argumentList const):
(WebCore::CSSSelector::selectorList const):
(WebCore::CSSSelector::selectorList):
(WebCore::CSSSelector::hasDescendantRelation const):
(WebCore::CSSSelector::hasDescendantOrChildRelation const):
(WebCore::CSSSelector::relation const):
(WebCore::CSSSelector::match const):
(WebCore::CSSSelector::isLastInSelectorList const):
(WebCore::CSSSelector::setLastInSelectorList):
(WebCore::CSSSelector::setNotLastInSelectorList):
(WebCore::CSSSelector::isFirstInTagHistory const):
(WebCore::CSSSelector::setNotFirstInTagHistory):
(WebCore::CSSSelector::isLastInTagHistory const):
(WebCore::CSSSelector::setNotLastInTagHistory):
(WebCore::CSSSelector::setLastInTagHistory):
(WebCore::CSSSelector::isForPage const):
(WebCore::CSSSelector::setForPage):
(WebCore::CSSSelector::setImplicit):
(WebCore::CSSSelector::isImplicit const):
(WebCore::CSSSelector::tagHistory):
(WebCore::CSSSelector::setValue):
(WebCore::CSSSelector::serializingValue const):
* Source/WebCore/css/process-css-pseudo-selectors.py:
Canonical link: https://commits.webkit.org/272589@main
More information about the webkit-changes
mailing list