Index: third_party/WebKit/LayoutTests/svg/css/script-tests/scientific-numbers.js |
diff --git a/third_party/WebKit/LayoutTests/svg/css/script-tests/scientific-numbers.js b/third_party/WebKit/LayoutTests/svg/css/script-tests/scientific-numbers.js |
index 938cc2a703890e6da07b22fb3b6d3a56bb1991f8..3b46d216098914a8c13c3d8aad4101d7327f3980 100644 |
--- a/third_party/WebKit/LayoutTests/svg/css/script-tests/scientific-numbers.js |
+++ b/third_party/WebKit/LayoutTests/svg/css/script-tests/scientific-numbers.js |
@@ -21,43 +21,43 @@ function test(valueString, expectedValue) { |
debug(""); |
debug("Test positive exponent values with 'e'"); |
-test(".5e2", "50px"); |
-test("5e1", "50px"); |
-test("0.5e2", "50px"); |
-test("+.5e2", "50px"); |
-test("+5e1", "50px"); |
-test("+0.5e2", "50px"); |
-test(".5e+2", "50px"); |
-test("5e+1", "50px"); |
-test("0.5e+2", "50px"); |
+test(".5e2", "50"); |
+test("5e1", "50"); |
+test("0.5e2", "50"); |
+test("+.5e2", "50"); |
+test("+5e1", "50"); |
+test("+0.5e2", "50"); |
+test(".5e+2", "50"); |
+test("5e+1", "50"); |
+test("0.5e+2", "50"); |
debug(""); |
debug("Test positive exponent values with 'E'"); |
-test(".5E2", "50px"); |
-test("5E1", "50px"); |
-test("0.5E2", "50px"); |
-test("+.5E2", "50px"); |
-test("+5E1", "50px"); |
-test("+0.5E2", "50px"); |
-test(".5E+2", "50px"); |
-test("5E+1", "50px"); |
-test("0.5E+2", "50px"); |
+test(".5E2", "50"); |
+test("5E1", "50"); |
+test("0.5E2", "50"); |
+test("+.5E2", "50"); |
+test("+5E1", "50"); |
+test("+0.5E2", "50"); |
+test(".5E+2", "50"); |
+test("5E+1", "50"); |
+test("0.5E+2", "50"); |
debug(""); |
debug("Test negative exponent values with 'e'"); |
-test("5000e-2", "50px"); |
-test("500e-1", "50px"); |
-test("+5000e-2", "50px"); |
-test("+500e-1", "50px"); |
+test("5000e-2", "50"); |
+test("500e-1", "50"); |
+test("+5000e-2", "50"); |
+test("+500e-1", "50"); |
test("+5000e-2px", "50px"); |
test("+500e-1px", "50px"); |
debug(""); |
debug("Test negative exponent values with 'E'"); |
-test("5000E-2", "50px"); |
-test("500E-1", "50px"); |
-test("+5000E-2", "50px"); |
-test("+500E-1", "50px"); |
+test("5000E-2", "50"); |
+test("500E-1", "50"); |
+test("+5000E-2", "50"); |
+test("+500E-1", "50"); |
test("+5000.00E-2px", "50px"); |
test("+500E-1px", "50px"); |
@@ -77,8 +77,8 @@ test("50ex", "50ex"); |
debug(""); |
debug("Trailing and leading whitespaces"); |
-test(" 5e1", "50px"); |
-test("5e1 ", "50px"); |
+test(" 5e1", "50"); |
+test("5e1 ", "50"); |
debug(""); |
debug("Test behavior on overflow"); |