Title: [266229] trunk/Source/WebCore
Revision
266229
Author
[email protected]
Date
2020-08-27 03:21:21 -0700 (Thu, 27 Aug 2020)

Log Message

Animation are invalidating too much
https://bugs.webkit.org/show_bug.cgi?id=215849

Reviewed by Antoine Quint.

* animation/KeyframeEffect.cpp:
(WebCore::invalidateElement):

Changes due to animations can't affect sibling elements so we can use internal invalidation.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (266228 => 266229)


--- trunk/Source/WebCore/ChangeLog	2020-08-27 10:00:20 UTC (rev 266228)
+++ trunk/Source/WebCore/ChangeLog	2020-08-27 10:21:21 UTC (rev 266229)
@@ -1,3 +1,15 @@
+2020-08-27  Antti Koivisto  <[email protected]>
+
+        Animation are invalidating too much
+        https://bugs.webkit.org/show_bug.cgi?id=215849
+
+        Reviewed by Antoine Quint.
+
+        * animation/KeyframeEffect.cpp:
+        (WebCore::invalidateElement):
+
+        Changes due to animations can't affect sibling elements so we can use internal invalidation.
+
 2020-08-27  Youenn Fablet  <[email protected]>
 
         Add support for TransformStream

Modified: trunk/Source/WebCore/animation/KeyframeEffect.cpp (266228 => 266229)


--- trunk/Source/WebCore/animation/KeyframeEffect.cpp	2020-08-27 10:00:20 UTC (rev 266228)
+++ trunk/Source/WebCore/animation/KeyframeEffect.cpp	2020-08-27 10:21:21 UTC (rev 266229)
@@ -69,7 +69,7 @@
 static inline void invalidateElement(Element* element)
 {
     if (element)
-        element->invalidateStyle();
+        element->invalidateStyleInternal();
 }
 
 static inline String CSSPropertyIDToIDLAttributeName(CSSPropertyID cssPropertyId)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to