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

Unified Diff: LayoutTests/fast/css/large-integer-value-serializing.html

Issue 1193753002: Serialize zIndex as an integer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix CSSCalculationValue.cpp Created 5 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
« no previous file with comments | « no previous file | Source/core/animation/DoubleStyleInterpolation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/large-integer-value-serializing.html
diff --git a/LayoutTests/fast/css/large-integer-value-serializing.html b/LayoutTests/fast/css/large-integer-value-serializing.html
new file mode 100644
index 0000000000000000000000000000000000000000..879b1919be1f08ba19399d42d7ec8c62eaa5c213
--- /dev/null
+++ b/LayoutTests/fast/css/large-integer-value-serializing.html
@@ -0,0 +1,10 @@
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<div id="div"></div>
+<script>
+test(function(){
+ div.style.zIndex = "2147483647";
+ assert_equals(div.style.zIndex, "2147483647");
+}, "Verify that large CSS integer values do not serialize with scientific notation.");
+
+</script>
« no previous file with comments | « no previous file | Source/core/animation/DoubleStyleInterpolation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698