-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[web-animations] rename AnimatableProperty to AnimatableCSSProperty
https://bugs.webkit.org/show_bug.cgi?id=264499 Reviewed by Chris Dumez. The name AnimatableProperty currently used is more generic than needed since this only covers CSS properties at the moment. So it is best to rename as AnimatableCSSProperty. * Source/WebCore/animation/CSSPropertyAnimation.cpp: (WebCore::CSSPropertyBlendingContext::CSSPropertyBlendingContext): (WebCore::CSSPropertyAnimation::blendProperty): (WebCore::CSSPropertyAnimation::isPropertyAnimatable): (WebCore::CSSPropertyAnimation::isPropertyAdditiveOrCumulative): (WebCore::CSSPropertyAnimation::propertyRequiresBlendingForAccumulativeIteration): (WebCore::CSSPropertyAnimation::animationOfPropertyIsAccelerated): (WebCore::CSSPropertyAnimation::propertiesEqual): (WebCore::CSSPropertyAnimation::canPropertyBeInterpolated): * Source/WebCore/animation/CSSPropertyAnimation.h: * Source/WebCore/animation/CSSTransition.cpp: (WebCore::CSSTransition::create): (WebCore::CSSTransition::CSSTransition): * Source/WebCore/animation/CSSTransition.h: * Source/WebCore/animation/DocumentTimeline.cpp: (WebCore::DocumentTimeline::animationCanBeRemoved): * Source/WebCore/animation/ElementAnimationRareData.h: (WebCore::ElementAnimationRareData::completedTransitionsByProperty): (WebCore::ElementAnimationRareData::runningTransitionsByProperty): * Source/WebCore/animation/KeyframeEffect.cpp: (WebCore::KeyframeEffect::getKeyframes): (WebCore::KeyframeEffect::animatedProperties): (WebCore::KeyframeEffect::animatesProperty const): (WebCore::KeyframeEffect::setAnimatedPropertiesInStyle): (WebCore::acceleratedPropertyDidChange): * Source/WebCore/animation/KeyframeEffect.h: * Source/WebCore/animation/KeyframeEffectStack.cpp: (WebCore::KeyframeEffectStack::applyKeyframeEffects): (WebCore::KeyframeEffectStack::cascadeDidOverrideProperties): * Source/WebCore/animation/KeyframeEffectStack.h: (WebCore::KeyframeEffectStack::acceleratedPropertiesOverriddenByCascade const): * Source/WebCore/animation/WebAnimation.cpp: (WebCore::WebAnimation::commitStyles): * Source/WebCore/animation/WebAnimationTypes.h: (WTF::DefaultHash<WebCore::AnimatableCSSProperty>::hash): (WTF::DefaultHash<WebCore::AnimatableCSSProperty>::equal): (WTF::HashTraits<WebCore::AnimatableCSSProperty>::constructDeletedValue): (WTF::HashTraits<WebCore::AnimatableCSSProperty>::isDeletedValue): (WTF::DefaultHash<WebCore::AnimatableProperty>::hash): Deleted. (WTF::DefaultHash<WebCore::AnimatableProperty>::equal): Deleted. (WTF::HashTraits<WebCore::AnimatableProperty>::constructDeletedValue): Deleted. (WTF::HashTraits<WebCore::AnimatableProperty>::isDeletedValue): Deleted. * Source/WebCore/animation/WebAnimationUtilities.cpp: (WebCore::animatablePropertyAsString): * Source/WebCore/animation/WebAnimationUtilities.h: * Source/WebCore/dom/Element.cpp: (WebCore::Element::hasCompletedTransitionForProperty const): (WebCore::Element::hasRunningTransitionForProperty const): (WebCore::Element::completedTransitionsByProperty const): (WebCore::Element::runningTransitionsByProperty const): (WebCore::Element::ensureCompletedTransitionsByProperty): (WebCore::Element::ensureRunningTransitionsByProperty): * Source/WebCore/dom/Element.h: * Source/WebCore/page/ios/ContentChangeObserver.cpp: (WebCore::isObservedPropertyForTransition): * Source/WebCore/platform/animation/AcceleratedEffect.cpp: (WebCore::acceleratedPropertyFromCSSProperty): * Source/WebCore/platform/animation/Animation.h: * Source/WebCore/rendering/style/KeyframeList.cpp: (WebCore::KeyframeList::fillImplicitKeyframes): (WebCore::KeyframeList::containsAnimatableCSSProperty const): (WebCore::KeyframeList::addProperty): (WebCore::KeyframeList::containsProperty const): (WebCore::KeyframeList::propertiesSetToInherit const): (WebCore::KeyframeValue::addProperty): (WebCore::KeyframeValue::containsProperty const): (WebCore::KeyframeList::containsAnimatableProperty const): Deleted. * Source/WebCore/rendering/style/KeyframeList.h: (WebCore::KeyframeValue::properties const): (WebCore::KeyframeList::properties const): * Source/WebCore/style/PropertyCascade.cpp: (WebCore::Style::PropertyCascade::PropertyCascade): (WebCore::Style::PropertyCascade::AnimationLayer::AnimationLayer): (WebCore::Style::PropertyCascade::overriddenAnimatedProperties const): * Source/WebCore/style/PropertyCascade.h: * Source/WebCore/style/StyleBuilder.cpp: (WebCore::Style::Builder::Builder): * Source/WebCore/style/StyleBuilder.h: (WebCore::Style::Builder::overriddenAnimatedProperties const): * Source/WebCore/style/StyleTreeResolver.cpp: (WebCore::Style::TreeResolver::createAnimatedElementUpdate): (WebCore::Style::TreeResolver::applyCascadeAfterAnimation): * Source/WebCore/style/StyleTreeResolver.h: * Source/WebCore/style/Styleable.cpp: (WebCore::removeCSSTransitionFromMap): (WebCore::Styleable::animationWasRemoved const): (WebCore::keyframeEffectForElementAndProperty): (WebCore::propertyInStyleMatchesValueForTransitionInMap): (WebCore::transitionMatchesProperty): (WebCore::updateCSSTransitionsForStyleableAndProperty): (WebCore::Styleable::updateCSSTransitions const): * Source/WebCore/style/Styleable.h: (WebCore::Styleable::applyKeyframeEffects const): (WebCore::Styleable::hasCompletedTransitionForProperty const): (WebCore::Styleable::hasRunningTransitionForProperty const): (WebCore::Styleable::ensureCompletedTransitionsByProperty const): (WebCore::Styleable::ensureRunningTransitionsByProperty const): Canonical link: https://commits.webkit.org/270465@main
- Loading branch information
Showing
29 changed files
with
118 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.