Status: Unconfirmed Owner: ---- Labels: Type-Bug Pri-2 OS-All Area-Misc New issue 18833 by viettrungluu: Reset button stays down on form with JS onReset/confirm http://code.google.com/p/chromium/issues/detail?id=18833
Chrome Version : 198.0 (Developer Build 22780) on Mac and some recent dev channel on Windows URLs (if applicable) : http://www.htmlcodetutorial.com/forms/_FORM_onReset.html Other browsers tested: Add OK or FAIL after other browsers where you have tested this issue: Safari 4: OK Firefox 3.x: OK IE 7: IE 8: What steps will reproduce the problem? 1. Go to a web page with a form such as the following (from the above web page): <FORM ACTION="../cgi-bin/mycgi.pl" onReset="return confirm('Do you really want to reset the form?')" > <INPUT TYPE=TEXT NAME="query"> <INPUT TYPE=SUBMIT> <INPUT TYPE=RESET> </FORM> 2. Press the reset button. What is the expected result? Reset button should go to its "up" state before confirmation dialog box appears (or at least while it is appearing). What happens instead? Until the confirmation dialog box is dismissed, the reset button stays in its depressed state. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
