Last modified: 2014-05-13 20:17:18 UTC
Created attachment 14842 [details] Setting decimal value Steps to reproduce: 1.Open a page with VE 2.Insert a new image 3.Set the image size to a long value which becomes a number with scientific notation 4.Now start deleting the value from right to left 5.Once you have deleted the scientific notation (e) and the number becomes a value with decimal point , click on "Apply Changes" Observed Issue 1: it accepts that decimal value 6.Click on Save Page and go to "Review your Changes" Observed Issue 2: The size value showing in the review changes section are completely different that what was set in step 5 See the screenshots attached Test Environment: http://en.wikipedia.beta.wmflabs.org/ Browser: Chrome Version 26.0.1410.65 OS: MAC OS X 10. 8. 5 Page:http://en.wikipedia.beta.wmflabs.org/w/index.php?title=17marchff&veaction=edit
Created attachment 14843 [details] The discrepancy in review changes section
This doesn't happen anymore with the new MediaSizeWidget and the DimensionsWidget; they don't allow for decimal values at all.
Verified the fix in production