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

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

Issue 1473963004: CSS animation for SVG presentation attribute 'd' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
Index: third_party/WebKit/LayoutTests/animations/responsive/d-responsive.html
diff --git a/third_party/WebKit/LayoutTests/animations/responsive/d-responsive.html b/third_party/WebKit/LayoutTests/animations/responsive/d-responsive.html
new file mode 100644
index 0000000000000000000000000000000000000000..3a90b26ba33afe52e8a07a2bb55b41d0b4353c59
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/animations/responsive/d-responsive.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<script src="resources/responsive-test.js"></script>
+<script>
+assertCSSResponsive({
+ targetTag: 'path',
+ property: 'd',
+ from: 'inherit',
+ to: 'M 10 20 H 30',
+ configurations: [{
+ state: {inherited: '"M 90 50 H 34"'},
+ expect: [
+ {at: 0.25, is: '"M 70 40 H 33"'},
+ {at: 0.75, is: '"M 30 20 H 31"'},
+ ],
+ }, {
+ state: {inherited: '"M 6 0 H 70"'},
+ expect: [
+ {at: 0.25, is: '"M 7 5 H 60"'},
+ {at: 0.75, is: '"M 9 15 H 40"'},
+ ],
+ }],
+});
+</script>

Powered by Google App Engine
This is Rietveld 408576698