[webkit-changes] [WebKit/WebKit] 30df2f: [web-animations] animating two custom property lis...

Antoine Quint noreply at github.com
Mon Jan 30 07:29:10 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 30df2fedb43872db4e094aa886d4269d67012da4
      https://github.com/WebKit/WebKit/commit/30df2fedb43872db4e094aa886d4269d67012da4
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2023-01-30 (Mon, 30 Jan 2023)

  Changed paths:
    A LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/animation/custom-property-animation-list-type-mismatch-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/animation/custom-property-animation-list-type-mismatch.html
    M Source/WebCore/animation/CSSPropertyAnimation.cpp

  Log Message:
  -----------
  [web-animations] animating two custom property list values with mismatching types should use a discrete animation
https://bugs.webkit.org/show_bug.cgi?id=251351
rdar://104814851

Reviewed by Antti Koivisto.

It is possible for a custom property to animate between two lists of mismatching types, for instance if it's
defined as `<number>+ | <transform-list>`. In that case, we must use discrete blending.

* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/animation/custom-property-animation-list-type-mismatch-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/animation/custom-property-animation-list-type-mismatch.html: Added.
* Source/WebCore/animation/CSSPropertyAnimation.cpp:
(WebCore::blendSyntaxValueLists):

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




More information about the webkit-changes mailing list