Closed Bug 1853640 Opened 3 years ago Closed 3 years ago

submitter.formmethod is undefined

Categories

(Firefox :: Untriaged, defect)

Firefox 117
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: michael.rouges, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0

Steps to reproduce:

Using a button like this, as submitter

<button form="sender" formaction="..." formmethod="post" type="submit" name="name" value="value">text</button>

Actual results:

The "formmethod" property is missing

Expected results:

Just add it, please :)

the property name is formMethod (uppercase "M")

https://html.spec.whatwg.org/multipage/form-elements.html#the-button-element

[Exposed=Window]
interface HTMLButtonElement : HTMLElement {
...
  [CEReactions] attribute DOMString formMethod;
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.