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

Unified Diff: third_party/WebKit/LayoutTests/animations/svg-attribute-composition/svg-offset-composition.html

Issue 1411043006: Extend SVG attribute interpolation test helper to test composition modes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_testHarnessSVGTests
Patch Set: Update expectatiotnpants 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/svg-attribute-composition/svg-offset-composition-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/svg-attribute-composition/svg-offset-composition.html
diff --git a/third_party/WebKit/LayoutTests/animations/svg-attribute-composition/svg-offset-composition.html b/third_party/WebKit/LayoutTests/animations/svg-attribute-composition/svg-offset-composition.html
new file mode 100644
index 0000000000000000000000000000000000000000..9776712c4cbd53281494716891a43d8fe2e0b21a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/animations/svg-attribute-composition/svg-offset-composition.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<script src="../svg-attribute-interpolation/resources/interpolation-test.js"></script>
+<template id="target-template">
+<svg height="10"><stop class="target"/></svg>
+</template>
+<body></body>
+<script>
+assertAttributeInterpolation({
+ property: 'offset',
+ underlying: 0.5,
+ from: -0.5,
+ fromComposite: 'add',
+ to: 1,
+ toComposite: 'add',
+}, [
+ {at: -0.5, is: -0.75},
+ {at: 0, is: 0},
+ {at: 0.25, is: 0.375},
+ {at: 0.5, is: 0.75},
+ {at: 0.75, is: 1.125},
+ {at: 1, is: 1.5},
+ {at: 1.5, is: 2.25}
+]);
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/svg-attribute-composition/svg-offset-composition-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698