Open Bug 1241353 Opened 8 years ago Updated 1 year ago

<button type="menu"> ?


(Core :: Layout: Form Controls, defect)





(Reporter: fgbruiz, Unassigned)




(1 file)

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 (

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 (

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 ( OR it should like a default submit button.
Component: DOM: Core & HTML → Layout: Form Controls
Blocks: 897102
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → All
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.