This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28169 - HTMLFormElement.action should be reflected as a URL
Summary: HTMLFormElement.action should be reflected as a URL
Status: RESOLVED INVALID
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: https://html.spec.whatwg.org/#the-for...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-08 15:18 UTC by contributor
Modified: 2015-03-31 09:06 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2015-03-08 15:18:23 UTC
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
Comment 1 Philip Jägenstedt 2015-03-08 15:20:13 UTC
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3442

It's treated as a URL in WebKit, Blink, Gecko and IE.
Comment 2 Ian 'Hixie' Hickson 2015-03-30 22:32:31 UTC
This appears to be what the spec says already, unless I'm missing something?
Comment 3 Philip Jägenstedt 2015-03-31 09:06:01 UTC
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.