Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1aeff1e41a628f50f54e62de5de45fd44be2e3e7
      
https://github.com/WebKit/WebKit/commit/1aeff1e41a628f50f54e62de5de45fd44be2e3e7
  Author: Rob Buis <[email protected]>
  Date:   2026-06-19 (Fri, 19 Jun 2026)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svglengthlist-animation-invalid-value-2-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svglengthlist-animation-invalid-value-2.html
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svglengthlist-animation-invalid-value-3-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svglengthlist-animation-invalid-value-3.html
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgnumberlist-animation-invalid-value-2-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgnumberlist-animation-invalid-value-2.html
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgnumberlist-animation-invalid-value-3-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgnumberlist-animation-invalid-value-3.html
    M 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgpointlist-animation-invalid-value-1-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgpointlist-animation-invalid-value-2-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgpointlist-animation-invalid-value-2.html
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgpointlist-animation-invalid-value-3-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgpointlist-animation-invalid-value-3.html
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgtransformlist-animation-invalid-value-1-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgtransformlist-animation-invalid-value-1.html
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgtransformlist-animation-invalid-value-2-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgtransformlist-animation-invalid-value-2.html
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgtransformlist-animation-invalid-value-3-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgtransformlist-animation-invalid-value-3.html
    M Source/WebCore/svg/SVGAnimateElementBase.cpp
    M Source/WebCore/svg/SVGTransformList.cpp
    M Source/WebCore/svg/SVGTransformList.h
    M Source/WebCore/svg/properties/SVGAnimatedPropertyAnimator.h
    M Source/WebCore/svg/properties/SVGAnimatedPropertyPairAnimatorImpl.h
    M Source/WebCore/svg/properties/SVGAnimationAdditiveFunction.h
    M Source/WebCore/svg/properties/SVGAnimationAdditiveListFunctionImpl.h
    M Source/WebCore/svg/properties/SVGAnimationAdditiveValueFunctionImpl.h
    M Source/WebCore/svg/properties/SVGAnimationDiscreteFunction.h
    M Source/WebCore/svg/properties/SVGAnimationDiscreteFunctionImpl.h
    M Source/WebCore/svg/properties/SVGAnimationFunction.h
    M Source/WebCore/svg/properties/SVGAttributeAnimator.h
    M Source/WebCore/svg/properties/SVGPropertyAnimator.h

  Log Message:
  -----------
  Fix svg/animations/svgpointlist-animation-invalid-value-1.html
https://bugs.webkit.org/show_bug.cgi?id=311817

Reviewed by Said Abou-Hallawa.

>From the SMIL animation spec [1]:
"If any values (i.e., the argument-values for from, to, by or values 
attributes) are not legal, the animation will have no effect (see also Handling 
Syntax Errors)."

[1] https://www.w3.org/TR/smil-animation/

Do similar fixes for the other lists 
(SVGLengthList/SVGNumberList/SVGTransformList).

* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svglengthlist-animation-invalid-value-2-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svglengthlist-animation-invalid-value-2.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svglengthlist-animation-invalid-value-3-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svglengthlist-animation-invalid-value-3.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgnumberlist-animation-invalid-value-2-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgnumberlist-animation-invalid-value-2.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgnumberlist-animation-invalid-value-3-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgnumberlist-animation-invalid-value-3.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgpointlist-animation-invalid-value-1-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgpointlist-animation-invalid-value-2-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgpointlist-animation-invalid-value-2.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgpointlist-animation-invalid-value-3-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgpointlist-animation-invalid-value-3.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgtransformlist-animation-invalid-value-1-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgtransformlist-animation-invalid-value-1.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgtransformlist-animation-invalid-value-2-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgtransformlist-animation-invalid-value-2.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgtransformlist-animation-invalid-value-3-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/animations/svgtransformlist-animation-invalid-value-3.html:
 Added.
* Source/WebCore/svg/SVGAnimateElementBase.cpp:
(WebCore::SVGAnimateElementBase::setFromAndByValues):
(WebCore::SVGAnimateElementBase::setToAtEndOfDurationValue):
* Source/WebCore/svg/SVGTransformList.cpp:
(WebCore::SVGTransformList::parse):
* Source/WebCore/svg/SVGTransformList.h:
* Source/WebCore/svg/properties/SVGAnimatedPropertyAnimator.h:
* Source/WebCore/svg/properties/SVGAnimatedPropertyPairAnimatorImpl.h:
* Source/WebCore/svg/properties/SVGAnimationAdditiveFunction.h:
* Source/WebCore/svg/properties/SVGAnimationAdditiveListFunctionImpl.h:
* Source/WebCore/svg/properties/SVGAnimationAdditiveValueFunctionImpl.h:
* Source/WebCore/svg/properties/SVGAnimationDiscreteFunction.h:
* Source/WebCore/svg/properties/SVGAnimationDiscreteFunctionImpl.h:
* Source/WebCore/svg/properties/SVGAnimationFunction.h:
* Source/WebCore/svg/properties/SVGAttributeAnimator.h:
(WebCore::SVGAttributeAnimator::setFromAndToValues):
(WebCore::SVGAttributeAnimator::setFromAndByValues):
(WebCore::SVGAttributeAnimator::setToAtEndOfDurationValue):
* Source/WebCore/svg/properties/SVGPropertyAnimator.h:

Canonical link: https://commits.webkit.org/315549@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to