Re: Input areas in <select> & <option>

Daniel W. Connolly (
Fri, 9 Dec 94 13:34:10 EST

In message <>, Mike Meyer writes:
>The Nov 15 DTD allows <input>, <select> & <textarea> in <option> &
><select> via an inclusion on <form>. This differers from the original
>spec, and using it causes most browsers to do wierd things.
>Is this a "quiet change" that browser implementors need to be made
>aware of, or is it a bug in the DTD, and <select> should have an
>exclusion on it?

Looks like a bug in the DTD. I guess <input> inside <textarea> is
nonsense that's allowed by the current DTD too.

Good catch.

I have to admit I'm not very familiar with forms, their usage, and
implementation. Could somebody out there hack around with adding
exlusion exceptions to the DTD until they're satisfied that it
reflects reality? I recommend Earl Hood's dtd2html as a way to
visualize the results.

I'll integrate the results and do my usual release testing.

Failing that, I could do some more research (read: pore over the
Mosaic source) and hack up the DTD myself.