[whatwg] Web Forms 2: Handling of unexpected input

Daniel Bratell bratell at opera.com
Mon May 3 23:58:58 PDT 2004

On Mon, 3 May 2004 11:05:39 -0700, L. David Baron <dbaron at dbaron.org> 
> On Monday 2004-05-03 15:30 +0200, Daniel Bratell wrote:
>> In the web forms 2 specification 2.15, it says that content in <input>
>> elements shouldn't be displayed. That is not backwards compatible for
>> HTML. Current browsers move the content of the <input> element to after
>> the <input> element, and I think it would be best if the specification
>> reflected current practice.
> They do?
> In traditional HTML, <input> is an empty-tag, not a start-tag, so
> there's no such thing as contents of an input element.  In XHTML,
> neither Opera nor Mozilla display the contents of an input (I didn't
> test Safari).

I assumed that the specification refered to whatever is between an <input> 
and </input> but if that construct isn't legal in HTML (always parsed as 
<input /> and "illegal-tag", then I withdraw my objection.


More information about the whatwg mailing list