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

Unified Diff: third_party/WebKit/LayoutTests/animations/svg-attribute-responsive/svg-transform-responsive.html

Issue 2973013002: Group all responsive animation tests together (Closed)
Patch Set: Rebase Created 3 years, 5 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
Index: third_party/WebKit/LayoutTests/animations/svg-attribute-responsive/svg-transform-responsive.html
diff --git a/third_party/WebKit/LayoutTests/animations/svg-attribute-responsive/svg-transform-responsive.html b/third_party/WebKit/LayoutTests/animations/svg-attribute-responsive/svg-transform-responsive.html
deleted file mode 100644
index 7f83fa4dd159f078809540eb9496d30b8d45162a..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/svg-attribute-responsive/svg-transform-responsive.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<script src="../responsive/resources/responsive-test.js"></script>
-<script>
-function serializeSVGTransformList(transformList) {
- var elements = [];
- for (var index = 0; index < transformList.numberOfItems; ++index) {
- var transform = transformList.getItem(index);
- elements.push(transform.type);
- elements.push(transform.angle);
- elements.push(transform.matrix.a);
- elements.push(transform.matrix.b);
- elements.push(transform.matrix.c);
- elements.push(transform.matrix.d);
- elements.push(transform.matrix.e);
- elements.push(transform.matrix.f);
- }
- return String(elements);
-}
-
-assertSVGResponsive({
- targetTag: 'line',
- property: 'transform',
- getter(target) {
- return serializeSVGTransformList(target.transform.animVal);
- },
- from: neutralKeyframe,
- to: 'translate(30 70)',
- configurations: [{
- state: {underlying: 'translate(10 10)'},
- expect: [
- {at: 0.25, is: 'translate(15 25)'},
- {at: 0.75, is: 'translate(25 55)'},
- ],
- }, {
- state: {underlying: 'translate(20 30) skewX(10)'},
- expect: [
- {at: 0.25, is: 'translate(20 30) skewX(10)'},
- {at: 0.75, is: 'translate(30 70)'},
- ],
- }],
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698