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

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

Issue 1548873002: Port CSS visibility animations to CSSInterpolationTypes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added deferred interpolation comment Created 4 years, 11 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/LayoutTests/animations/stacked-visibility-animations-responsive.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/responsive/visibility-responsive.html
diff --git a/third_party/WebKit/LayoutTests/animations/responsive/visibility-responsive.html b/third_party/WebKit/LayoutTests/animations/responsive/visibility-responsive.html
new file mode 100644
index 0000000000000000000000000000000000000000..87d1b00c084e008c2a5b2f2069cb9df6da408c17
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/animations/responsive/visibility-responsive.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<script src="resources/responsive-test.js"></script>
+<script>
+assertCSSResponsive({
+ property: 'visibility',
+ from: 'inherit',
+ to: 'hidden',
+ configurations: [{
+ state: {inherited: 'collapse'},
+ expect: [
+ {at: 0.25, is: 'collapse'},
+ {at: 0.75, is: 'hidden'},
+ ],
+ }, {
+ state: {inherited: 'visible'},
+ expect: [
+ {at: 0.25, is: 'visible'},
+ {at: 0.75, is: 'visible'},
+ ],
+ }],
+});
+
+assertCSSResponsive({
+ property: 'visibility',
+ from: neutralKeyframe,
+ to: 'hidden',
+ configurations: [{
+ state: {underlying: 'collapse'},
+ expect: [
+ {at: 0.25, is: 'collapse'},
+ {at: 0.75, is: 'hidden'},
+ ],
+ }, {
+ state: {underlying: 'visible'},
+ expect: [
+ {at: 0.25, is: 'visible'},
+ {at: 0.75, is: 'visible'},
+ ],
+ }],
+});
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/stacked-visibility-animations-responsive.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698