[webkit-changes] [WebKit/WebKit] 6ff99e: Remove redundant ChildrenAffectedByPropertyBasedBa...
Antti Koivisto
noreply at github.com
Mon Apr 24 02:57:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6ff99eb55df0030444a67dd99ee8c3994a9e7632
https://github.com/WebKit/WebKit/commit/6ff99eb55df0030444a67dd99ee8c3994a9e7632
Author: Antti Koivisto <antti at apple.com>
Date: 2023-04-24 (Mon, 24 Apr 2023)
Changed paths:
M Source/WebCore/css/SelectorChecker.cpp
M Source/WebCore/dom/Element.cpp
M Source/WebCore/dom/Element.h
M Source/WebCore/dom/Node.h
M Source/WebCore/style/StyleRelations.cpp
M Source/WebCore/style/StyleRelations.h
Log Message:
-----------
Remove redundant ChildrenAffectedByPropertyBasedBackwardPositionalRules flag
https://bugs.webkit.org/show_bug.cgi?id=254267
rdar://107052174
Reviewed by Ryosuke Niwa.
It does nothing that ChildrenAffectedByBackwardPositionalRules doesn't.
* Source/WebCore/css/SelectorChecker.cpp:
(WebCore::SelectorChecker::checkOne const):
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::hasFlagsSetDuringStylingOfChildren const):
(WebCore::Element::resetChildStyleRelations):
* Source/WebCore/dom/Element.h:
(WebCore::Element::descendantsAffectedByBackwardPositionalRules const):
(WebCore::Element::setDescendantsAffectedByBackwardPositionalRules):
(WebCore::Element::childrenAffectedByPropertyBasedBackwardPositionalRules const): Deleted.
(WebCore::Element::setChildrenAffectedByPropertyBasedBackwardPositionalRules): Deleted.
* Source/WebCore/dom/Node.h:
* Source/WebCore/style/StyleRelations.cpp:
(WebCore::Style::commitRelationsToRenderStyle):
(WebCore::Style::commitRelations):
* Source/WebCore/style/StyleRelations.h:
Canonical link: https://commits.webkit.org/263303@main
More information about the webkit-changes
mailing list