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

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: Oilpan Created 5 years 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..af6d31118e009249bb40912e99ca42ed6165052e
--- /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: "path('M 10 20 H 30')",
+ configurations: [{
+ state: {inherited: "path('M 90 60 H 34')"},
+ expect: [
+ {at: 0.25, is: "path('M 70 50 H 33')"},
+ {at: 0.75, is: "path('M 30 30 H 31')"},
+ ],
+ }, {
+ state: {inherited: "path('M 6 0 H 70')"},
+ expect: [
+ {at: 0.25, is: "path('M 7 5 H 60')"},
+ {at: 0.75, is: "path('M 9 15 H 40')"},
+ ],
+ }],
+});
+</script>

Powered by Google App Engine
This is Rietveld 408576698