display:none button triggered on form enter key
Reported by
nicho...@blasgen.com,
Mar 30 2016
|
|
Issue descriptionChrome Version : 51.0.2693.2 (Official Build) canary (64-bit) (MacOS) URLs (if applicable) : https://jsfiddle.net/516amfmL/2/ Other browsers tested: 49.0.2623.110 (Official Build) (64-bit) (MacOS & Windows) Add OK or FAIL, along with the version, after other browsers where you have tested this issue: Safari: OK (v 9.1) Firefox: FAIL (v 39.0) IE: OK (MS Edge on Windows) What steps will reproduce the problem? (1) Visit https://jsfiddle.net/516amfmL/2/ (2) Click into INPUT box. (3) Press ENTER (4) Not displayed <button> gets triggered, rather than the displayed button. What is the expected result? One of two choices would be acceptable: (1) Simply submit the form and don't "click" any button. (2) "Click" the first displayed button, ignoring any action on hidden buttons. What happens instead? The button that isn't visible, not even displayed, is triggered. Please provide any additional information below. Attach a screenshot if possible. I do wonder if this is a known Quirk and that this is a purposely non-fixed bug. I'm surprised that it works in Safari & MS Edge, but fails in Chrome & Firefox. |
|
►
Sign in to add a comment |
|
Comment 1 by tkent@chromium.org
, Mar 30 2016Owner: tkent@chromium.org
Status: WontFix (was: Unconfirmed)