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

Unified Diff: LayoutTests/svg/parser/whitespace-length-invalid-1.html

Issue 1078663002: Deflake the whitespace-length-invalid test (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: split test in two Created 5 years, 8 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: LayoutTests/svg/parser/whitespace-length-invalid-1.html
diff --git a/LayoutTests/fast/svg/whitespace-length-invalid.html b/LayoutTests/svg/parser/whitespace-length-invalid-1.html
similarity index 97%
copy from LayoutTests/fast/svg/whitespace-length-invalid.html
copy to LayoutTests/svg/parser/whitespace-length-invalid-1.html
index 5c58f7a9e129ff3d23b87c329846f24e95d7b209..d1d082f6cbc6d424bf872aa068a6f0b94e7b6f25 100644
--- a/LayoutTests/fast/svg/whitespace-length-invalid.html
+++ b/LayoutTests/svg/parser/whitespace-length-invalid-1.html
@@ -59,7 +59,7 @@ testTypeLocal("<length>",
0, // expected default value
whitespace,
[], // valid
- [ Number.NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, "fnord", "E", "e", "e+", "E-", "-", "+", "-.", ".-", ".", "+.", ".E0", "e1" ], // invalid
+ [ Number.NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, "fnord", "E", "e" ], // invalid
validunits,
[], // garbage
function(elm, value) { assert_approx_equals(elm.x.baseVal.valueInSpecifiedUnits, parseFloat(value), EPSILON); },

Powered by Google App Engine
This is Rietveld 408576698