Title: [147746] trunk/Source/WebCore
Revision
147746
Author
[email protected]
Date
2013-04-05 07:50:54 -0700 (Fri, 05 Apr 2013)

Log Message

[Texmap] css3/filters/filter-animation-from-none-hw.html does not animate
https://bugs.webkit.org/show_bug.cgi?id=114026

Patch by Noam Rosenthal <[email protected]> on 2013-04-05
Reviewed by Allan Sandfeld Jensen.

Allow the filter's blending function to take place when animating from/to none.

* platform/graphics/GraphicsLayerAnimation.cpp:
(WebCore::applyFilterAnimation):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (147745 => 147746)


--- trunk/Source/WebCore/ChangeLog	2013-04-05 14:47:55 UTC (rev 147745)
+++ trunk/Source/WebCore/ChangeLog	2013-04-05 14:50:54 UTC (rev 147746)
@@ -1,5 +1,17 @@
 2013-04-05  Noam Rosenthal  <[email protected]>
 
+        [Texmap] css3/filters/filter-animation-from-none-hw.html does not animate
+        https://bugs.webkit.org/show_bug.cgi?id=114026
+
+        Reviewed by Allan Sandfeld Jensen.
+
+        Allow the filter's blending function to take place when animating from/to none.
+
+        * platform/graphics/GraphicsLayerAnimation.cpp:
+        (WebCore::applyFilterAnimation):
+
+2013-04-05  Noam Rosenthal  <[email protected]>
+
         [CoordGfx] Enable filter animations
         https://bugs.webkit.org/show_bug.cgi?id=114027
 

Modified: trunk/Source/WebCore/platform/graphics/GraphicsLayerAnimation.cpp (147745 => 147746)


--- trunk/Source/WebCore/platform/graphics/GraphicsLayerAnimation.cpp	2013-04-05 14:47:55 UTC (rev 147745)
+++ trunk/Source/WebCore/platform/graphics/GraphicsLayerAnimation.cpp	2013-04-05 14:50:54 UTC (rev 147746)
@@ -49,7 +49,7 @@
     if (progress == 1)
         return *to;
 
-    if (!from->operationsMatch(*to))
+    if (!from->isEmpty() && !to->isEmpty() && !from->operationsMatch(*to))
         return *to;
 
     FilterOperations result;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to