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

Unified Diff: LayoutTests/css-parser/scientific-notation.html

Issue 1120133004: Serialize <number> to round to at most 6 decimals (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Try to fix win Created 5 years, 7 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/css-parser/scientific-notation.html
diff --git a/LayoutTests/css-parser/scientific-notation.html b/LayoutTests/css-parser/scientific-notation.html
index 98858f942f80b53b567281226b053f8895798ad1..d97dddd4bc780383f5e44a6a27fccbf82abd3c47 100644
--- a/LayoutTests/css-parser/scientific-notation.html
+++ b/LayoutTests/css-parser/scientific-notation.html
@@ -18,8 +18,8 @@ assert_valid_value("opacity", "2E-200", "2e-200");
assert_valid_value("opacity", "1e0", "1");
assert_valid_value("opacity", "1e+0", "1");
assert_valid_value("opacity", "1e-0", "1");
-assert_valid_value("opacity", "1e10", "10000000000");
-assert_valid_value("opacity", "1e+10", "10000000000");
+assert_valid_value("opacity", "1e10", "1e+10");
+assert_valid_value("opacity", "1e+10", "1e+10");
assert_valid_value("opacity", "1e-10", "1e-10");
assert_valid_value("width", "2e2px", "200px");
assert_valid_value("width", "2E2px", "200px");
@@ -36,20 +36,20 @@ assert_valid_value("width", "2E-200px", "2e-200px");
assert_valid_value("width", "1e0px", "1px");
assert_valid_value("width", "1e+0px", "1px");
assert_valid_value("width", "1e-0px", "1px");
-assert_valid_value("width", "1e10px", "10000000000px");
-assert_valid_value("width", "1e+10px", "10000000000px");
+assert_valid_value("width", "1e10px", "1e+10px");
+assert_valid_value("width", "1e+10px", "1e+10px");
assert_valid_value("width", "1e-10px", "1e-10px");
assert_valid_value("width", "1e0em", "1em");
assert_valid_value("width", "1e+0em", "1em");
assert_valid_value("width", "1e-0em", "1em");
-assert_valid_value("width", "1e10em", "10000000000em");
-assert_valid_value("width", "1e+10em", "10000000000em");
+assert_valid_value("width", "1e10em", "1e+10em");
+assert_valid_value("width", "1e+10em", "1e+10em");
assert_valid_value("width", "1e-10em", "1e-10em");
assert_valid_value("width", "1e0%", "1%");
assert_valid_value("width", "1e+0%", "1%");
assert_valid_value("width", "1e-0%", "1%");
-assert_valid_value("width", "1e10%", "10000000000%");
-assert_valid_value("width", "1e+10%", "10000000000%");
+assert_valid_value("width", "1e10%", "1e+10%");
+assert_valid_value("width", "1e+10%", "1e+10%");
assert_valid_value("width", "1e-10%", "1e-10%");
// Large exponents (not representable). This is not necessarily the correct value.
assert_valid_value("opacity", "1e-600", "0");

Powered by Google App Engine
This is Rietveld 408576698