[webkit-changes] [WebKit/WebKit] 974a0c: Frozen animations still contribute to the sandwich...

Ahmad Saleem noreply at github.com
Sun Jan 8 01:24:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 974a0c2ef69617c5465efb1ecd074dc50b6571f9
      https://github.com/WebKit/WebKit/commit/974a0c2ef69617c5465efb1ecd074dc50b6571f9
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-01-08 (Sun, 08 Jan 2023)

  Changed paths:
    A LayoutTests/svg/animations/animate-to-low-prio-frozen-expected.txt
    A LayoutTests/svg/animations/animate-to-low-prio-frozen.html
    M Source/WebCore/svg/animation/SVGSMILElement.cpp

  Log Message:
  -----------
  Frozen animations still contribute to the sandwich/animation stack

Frozen animations still contribute to the sandwich/animation stack
https://bugs.webkit.org/show_bug.cgi?id=250212

Reviewed by Simon Fraser.

This patch aligns WebKit to Blink / Chromium and Gecko / Firefox.

Merge - https://chromium.googlesource.com/chromium/blink/+/18ca5f05a08ac4da392cfc03dc4ef097f495b5b0

This patch introduces bool named 'isFrozen', which takes value of frozen state and
return as value rather than false since with (for instance) to-animation, the frozen element will for instance provide the 'underlying value' to any following element.

* Source/WebCore/svg/animation/SVGSMILElement.cpp:
(SVGSMILElement::progress): Add 'isFrozen' bool and return it rather than 'false'
* LayoutTests/svg/animations/animate-to-low-prio-frozen.html: Add Test Case
* LayoutTests/svg/animations/animate-to-low-prio-frozen-expected.txt: Add Test Case Expectation

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




More information about the webkit-changes mailing list