[webkit-changes] [WebKit/WebKit] 281fcf: Rename TimelineScope to NameScope
Kiet Ho
noreply at github.com
Wed Feb 19 13:13:23 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 281fcf894db63e79b6c35fce751bd8a5a4046379
https://github.com/WebKit/WebKit/commit/281fcf894db63e79b6c35fce751bd8a5a4046379
Author: Kiet Ho <kiet.ho at apple.com>
Date: 2025-02-19 (Wed, 19 Feb 2025)
Changed paths:
M Source/WebCore/Headers.cmake
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/animation/StyleOriginatedTimelinesController.cpp
M Source/WebCore/animation/StyleOriginatedTimelinesController.h
R Source/WebCore/animation/TimelineScope.h
M Source/WebCore/css/CSSProperties.json
M Source/WebCore/css/ComputedStyleExtractor.cpp
A Source/WebCore/css/NameScope.h
M Source/WebCore/rendering/style/RenderStyle.h
M Source/WebCore/rendering/style/RenderStyleInlines.h
M Source/WebCore/rendering/style/RenderStyleSetters.h
M Source/WebCore/rendering/style/StyleRareNonInheritedData.h
M Source/WebCore/style/StyleBuilderConverter.h
M Source/WebCore/style/StyleTreeResolver.cpp
Log Message:
-----------
Rename TimelineScope to NameScope
rdar://145093024
https://bugs.webkit.org/show_bug.cgi?id=287900
Reviewed by Antoine Quint and Alan Baradlay.
Rename TimelineScope to NameScope so it can be reused for anchor-scope.
Also shorten NameScope::scopeNames to ::names.
* Source/WebCore/Headers.cmake:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/animation/StyleOriginatedTimelinesController.cpp:
(WebCore::StyleOriginatedTimelinesController::relatedTimelineScopeElements):
(WebCore::StyleOriginatedTimelinesController::updateTimelineForTimelineScope):
(WebCore::StyleOriginatedTimelinesController::updateNamedTimelineMapForTimelineScope):
* Source/WebCore/animation/StyleOriginatedTimelinesController.h:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::valueForNameScopeNames):
(WebCore::ComputedStyleExtractor::valueForPropertyInStyle const):
(WebCore::valueForTimelineScopeNames): Deleted.
* Source/WebCore/css/NameScope.h: Renamed from Source/WebCore/animation/TimelineScope.h.
(WebCore::operator<<):
* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/rendering/style/RenderStyleInlines.h:
(WebCore::RenderStyle::initialTimelineScope):
(WebCore::RenderStyle::timelineScope const):
* Source/WebCore/rendering/style/RenderStyleSetters.h:
(WebCore::RenderStyle::setTimelineScope):
* Source/WebCore/rendering/style/StyleRareNonInheritedData.h:
* Source/WebCore/style/StyleBuilderConverter.h:
(WebCore::Style::BuilderConverter::convertNameScope):
(WebCore::Style::BuilderConverter::convertTimelineScope): Deleted.
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::createAnimatedElementUpdate):
Canonical link: https://commits.webkit.org/290635@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