Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: third_party/WebKit/LayoutTests/animations/interpolation/visibility-interpolation.html

Issue 2682603004: Don't animate visibility keyframes that don't include "visible" (Closed)
Patch Set: Review changes Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/CSSVisibilityInterpolationType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/interpolation/visibility-interpolation.html
diff --git a/third_party/WebKit/LayoutTests/animations/interpolation/visibility-interpolation.html b/third_party/WebKit/LayoutTests/animations/interpolation/visibility-interpolation.html
index b5ff785711cfc6ed990c68d0240853991b584ccc..7d366179e5f3723facb218de3e4cc733218db291 100644
--- a/third_party/WebKit/LayoutTests/animations/interpolation/visibility-interpolation.html
+++ b/third_party/WebKit/LayoutTests/animations/interpolation/visibility-interpolation.html
@@ -29,6 +29,19 @@ assertInterpolation({
assertInterpolation({
property: 'visibility',
+ from: 'hidden',
+ to: 'visible'
+}, [
+ {at: -1, is: 'hidden'},
+ {at: 0, is: 'hidden'},
+ {at: 0.1, is: 'visible'},
+ {at: 0.9, is: 'visible'},
+ {at: 1, is: 'visible'},
+ {at: 1.5, is: 'visible'},
+]);
+
+assertInterpolation({
+ property: 'visibility',
from: 'collapse',
to: 'visible'
}, [
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/CSSVisibilityInterpolationType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698