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

Unified Diff: third_party/WebKit/LayoutTests/fast/svg/linear-gradient-default-length.html

Issue 2118903003: Relocate tests from fast/svg/ to svg/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-fast-svg-tests
Patch Set: Rename some files Created 4 years, 6 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/fast/svg/linear-gradient-default-length.html
diff --git a/third_party/WebKit/LayoutTests/fast/svg/linear-gradient-default-length.html b/third_party/WebKit/LayoutTests/fast/svg/linear-gradient-default-length.html
deleted file mode 100644
index f3d9d3799caaaea3beb2cde7262f68a682b3a7b9..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/svg/linear-gradient-default-length.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!doctype html>
-<title>SVGLinearGradientElement coordinate defaults</title>
-<script src=../../resources/testharness.js></script>
-<script src=../../resources/testharnessreport.js></script>
-<svg>
- <linearGradient id="lg"/>
-</svg>
-<script>
-function testLengthValue(result, expected, testcase) {
- test(function() {
- assert_equals(result, expected);
- }, "Testing " + document.title + " " + testcase);
-}
-
-var linearGradient = document.querySelector("#lg");
-testLengthValue(linearGradient.x1.baseVal.valueAsString, "0%", "x1");
-testLengthValue(linearGradient.x2.baseVal.valueAsString, "100%", "x2");
-testLengthValue(linearGradient.y1.baseVal.valueAsString, "0%", "y1");
-testLengthValue(linearGradient.y2.baseVal.valueAsString, "0%", "y2");
-</script>

Powered by Google App Engine
This is Rietveld 408576698