Index: third_party/WebKit/LayoutTests/animations/responsive/offset-rotate-responsive.html |
diff --git a/third_party/WebKit/LayoutTests/animations/responsive/offset-rotate-responsive.html b/third_party/WebKit/LayoutTests/animations/responsive/offset-rotate-responsive.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4f1ad03ecae5b253e40d8bafcd36d4991d270fde |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/animations/responsive/offset-rotate-responsive.html |
@@ -0,0 +1,41 @@ |
+<!DOCTYPE html> |
+<script src="resources/responsive-test.js"></script> |
+<script> |
+assertCSSResponsive({ |
sashab
2016/12/06 04:16:34
and here :)
Eric Willigers
2016/12/06 05:30:04
Done.
|
+ property: 'offset-rotate', |
+ from: 'inherit', |
+ to: 'auto 40deg', |
+ configurations: [{ |
+ state: {inherited: '50deg'}, |
+ expect: [ |
+ {at: 0.25, is: '50deg'}, |
+ {at: 0.75, is: 'auto 40deg'}, |
+ ], |
+ }, { |
+ state: {inherited: 'auto 20deg'}, |
+ expect: [ |
+ {at: 0.25, is: 'auto 25deg'}, |
+ {at: 0.75, is: 'auto 35deg'}, |
+ ], |
+ }], |
+}); |
+ |
+assertCSSResponsive({ |
+ property: 'offset-rotate', |
+ from: neutralKeyframe, |
+ to: '80deg', |
+ configurations: [{ |
+ state: {underlying: 'auto 50deg'}, |
+ expect: [ |
+ {at: 0.25, is: 'auto 50deg'}, |
+ {at: 0.75, is: '80deg'}, |
+ ], |
+ }, { |
+ state: {underlying: '40deg'}, |
+ expect: [ |
+ {at: 0.25, is: '50deg'}, |
+ {at: 0.75, is: '70deg'}, |
+ ], |
+ }], |
+}); |
+</script> |