Incorporating the spec change as per W3C bug http://www.w3.org/Bugs/Public/show_bug.cgi?id=13689 As per this bug if a page contains input tag as below. <input type="number" step=".5"> the Double value ".5" for step should be considered as valid. This is added in the spec in the revision number http://html5.org/tools/web-apps-tracker?from=6634&to=6635
Created attachment 111940 [details] Fix for Incorporating the change in spec as specified. Fix with Layout test modified attached.
Comment on attachment 111940 [details] Fix for Incorporating the change in spec as specified. View in context: https://bugs.webkit.org/attachment.cgi?id=111940&action=review > LayoutTests/fast/forms/input-step-as-double.html:4 > +<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css"> This line is not needed. It is inserted automatically by js-test-pre.js. > LayoutTests/fast/forms/input-step-as-double.html:9 > +<p id="description"></p> > +<div id="console"></div> These two elements are not needed. They are created automatically. > LayoutTests/fast/forms/input-step-as-double.html:10 > +<script src="script-tests/input-step-as-double.js"></script> Do not make a separated .js file. Please embed it into here. > LayoutTests/fast/forms/script-tests/input-valueasnumber-number.js:-34 > -shouldBeTrue('isNaN(valueAsNumberFor(".2"))'); We should have a test for valueAsNumberFor(".") instead.
Created attachment 112316 [details] Patch incorporating the review comments. All the review comments addressed.
Comment on attachment 112316 [details] Patch incorporating the review comments. Looks good. Thank you.
Comment on attachment 112316 [details] Patch incorporating the review comments. Clearing flags on attachment: 112316 Committed r98342: <http://trac.webkit.org/changeset/98342>
All reviewed patches have been landed. Closing bug.