Open
Bug 1241353
Opened 8 years ago
Updated 2 years ago
<button type="menu"> ?
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
NEW
People
(Reporter: fgbruiz, Unassigned)
References
Details
Attachments
(1 file)
59.12 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:43.0) Gecko/20100101 Firefox/43.0 Build ID: 20151109145326 Steps to reproduce: Tried implementing a <button type="menu">, according to what's mentioned in MDN (https://developer.mozilla.org/en/docs/Web/HTML/Element/menu#Example_2). I had to change it a bit to get it to render properly, the buttons weren't rendering with value="...", so I made them non-empty elements. Clicked the button. Actual results: A different layout was applied to the button element, it looked a lot like a select element, but it didn't do anything when clicked, let alone show the menu, as per the latest spec (https://html.spec.whatwg.org/multipage/forms.html#attr-button-type). Messing around in the console I could see it had it's type attribute set to "submit", despite the it not looking like a submit button at all, and nothing happened when trying to change it to "menu". Expected results: A menu should appear, as per the spec (https://html.spec.whatwg.org/multipage/forms.html#attr-button-type-menu-state) OR it should like a default submit button.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → All
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•