Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 13bc2b4c5daf7bf4612ca3aa6e04b4ae2f8ac0d9
      
https://github.com/WebKit/WebKit/commit/13bc2b4c5daf7bf4612ca3aa6e04b4ae2f8ac0d9
  Author: Kiet Ho <[email protected]>
  Date:   2026-04-30 (Thu, 30 Apr 2026)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/crashtests/transform-properties-from-none-to-none-crash.html
    M Source/WebCore/platform/animation/AcceleratedEffect.cpp

  Log Message:
  -----------
  Crash when animating transform-related properties from none to none
rdar://175501798
https://bugs.webkit.org/show_bug.cgi?id=313595

Reviewed by Simon Fraser.

Animating transform-related properties (translate, rotate, scale) from none
to none would crash in WebCore::blend (in AcceleratedEffect.cpp) because
the from and to value is null. Account for this case by returning base
when from/to is null. Also simplify the logic a bit.

Test: 
imported/w3c/web-platform-tests/css/css-animations/crashtests/transform-properties-from-none-to-none-crash.html

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/crashtests/transform-properties-from-none-to-none-crash.html:
 Added.
* Source/WebCore/platform/animation/AcceleratedEffect.cpp:
(WebCore::blend):

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



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

Reply via email to