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

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

Issue 1128193002: Ignore declarations with out of range numeric values (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test 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
« no previous file with comments | « no previous file | LayoutTests/svg/css/scientific-numbers-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/css-parser/scientific-notation.html
diff --git a/LayoutTests/css-parser/scientific-notation.html b/LayoutTests/css-parser/scientific-notation.html
index 290e6a2987f2690aa57bdf15fef9a67e7d022f28..98858f942f80b53b567281226b053f8895798ad1 100644
--- a/LayoutTests/css-parser/scientific-notation.html
+++ b/LayoutTests/css-parser/scientific-notation.html
@@ -52,7 +52,6 @@ assert_valid_value("width", "1e10%", "10000000000%");
assert_valid_value("width", "1e+10%", "10000000000%");
assert_valid_value("width", "1e-10%", "1e-10%");
// Large exponents (not representable). This is not necessarily the correct value.
-assert_valid_value("opacity", "1e600", "0");
assert_valid_value("opacity", "1e-600", "0");
assert_valid_value("width", "1e600px", "0px");
assert_valid_value("width", "1e-600px", "0px");
@@ -63,4 +62,5 @@ assert_invalid_value("width", "1e1.0px");
assert_invalid_value("width", "1e10.0px");
assert_invalid_value("width", "1e1.0em");
assert_invalid_value("width", "1e10.0em");
+assert_invalid_value("opacity", "1e600");
</script>
« no previous file with comments | « no previous file | LayoutTests/svg/css/scientific-numbers-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698