[whatwg] HTML 5 : Misconceptions Documented

Garrett Smith dhtmlkitchen at gmail.com
Tue Aug 12 09:07:41 PDT 2008


On Tue, Aug 12, 2008 at 4:06 AM, Kristof Zelechovski
<giecrilj at stegny.2a.pl> wrote:
> The attribute FORM.length is not parseable: it cannot be defined in the HTML
> source and such definition should be ignored.  The intrinsic computed length
> attribute should take precedence over the imported control name which can be
> retrieved calling form.elements.item("length").

Please stop posting this type of code. This is nonstandard and will
only work in IE and browsers that strive to closely emulate IE
(Opera). Same goes for document.all or other things you'll see on the
MSDN site. MSDN is useful for other things, but it is not a standard
reference.

> Chris
>
> -----Original Message-----
> From: whatwg-bounces at lists.whatwg.org
> [mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Garrett Smith
> Sent: Wednesday, August 06, 2008 8:24 PM
> To: Maciej Stachowiak
> Cc: Cameron McCormack; whatwg at whatwg.org
> Subject: Re: [whatwg] HTML 5 : Misconceptions Documented
>
> Testcases to determine what implementations do and what are the worst
> problems to avoid would be the most useful at this point. For example,
> a HTMLFORMElement with the name "length", and attribute "length" on
> the form.
>
> <form length="10">
>  <input name="length">
> </form>
>
> Please do make up some test cases. You can post these to the list.
> Talk to Ian about where to upload them for reference.
>
>
>
>



More information about the whatwg mailing list