W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2006

[whatwg] [WF2] handling form elements inside rendered OBJECT

From: Hallvord R M Steen <hallvors@gmail.com>
Date: Wed, 26 Apr 2006 14:08:20 +0200
Message-ID: <dd4c8a40604260508t779d9d65y795c86458d2d5373@mail.gmail.com>
https://bugzilla.mozilla.org/show_bug.cgi?id=286914

Note comment from the XStandard plugin developers about submitting
form elements inside an OBJECT with content shown by plugin or UA.

I have been discussing this with among others Anne van Kesteren, and
I'd like more views on this..

- OBJECT is part of forms since HTML4. That means the plugin or object
content can provide a name/value pair for a form submit. (I don't know
if any implementations of this exist but it is clearly the intent of
the HTML4 spec)

- OBJECT contents are meant to be used instead of the OBJECT if it
can't be rendered, not as well as.

- If you look at the XStandard use case and proposed markup it looks
like a pretty elegant solution to me. XStandard is a rich text editor
creating XHTML output. They want to embed the editor with code
somewhat like the following:

	<object type="application/x-standard" name="document">
		<textarea name="document"></textarea>
	</object>

Naturally, this only works if the UA sends *either* name/value from
OBJECT *or* name/value from TEXTAREA (or the server does some extra
logic to try to distinguish the duplicated successful name/value pairs
and pick the correct one).

Any thoughts?
--
Hallvord R. M. Steen
Received on Wednesday, 26 April 2006 05:08:20 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:46 UTC