This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: https://html.spec.whatwg.org/ Multipage: https://html.spec.whatwg.org/multipage/#the-form-element Complete: https://html.spec.whatwg.org/#the-form-element Referrer: Comment: HTMLFormElement.action should be reflected as a URL Posted from: 14.162.102.1 User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36 OPR/27.0.1689.76
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3442 It's treated as a URL in WebKit, Blink, Gecko and IE.
This appears to be what the spec says already, unless I'm missing something?
Oh, yes it is: "The action IDL attribute must reflect the content attribute of the same name, except that on getting, when the content attribute is missing or its value is the empty string, the document's address must be returned instead." There's no link to the "content attribute of the same name", but https://html.spec.whatwg.org/#attr-fs-action does define it as a URL. FWIW, the "except that on getting, when the content attribute is missing or its value is the empty string, the document's address must be returned instead" bit isn't implemented in Blink. It would be very nice with a WebIDL extended attribute for reflection and the kinds of reflection. Resolving as invalid in any event.