W3C home > Mailing lists > Public > public-html@w3.org > September 2007

Re: Question about mis-nested form controls and parsing

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 12 Sep 2007 10:57:12 -0500
Message-ID: <46E80C58.2040804@mit.edu>
To: Ian Hickson <ian@hixie.ch>
CC: "public-html@w3.org" <public-html@w3.org>

Ian Hickson wrote:
> This would be the first step down the slippery slope of making the tree 
> construction stage in the parser generate DOMs that depend on attribute 
> values rather than being exclusively based on tag names. This scares me, 
> as it immediately precludes a significant possible set of optimisations.

Name one, please?

> Would it be possible to instead make the <input> elements remember their 
> parse order and use that during submission?

Yes.  It would be a lot more work, and a lot more difficult to specify (since 
the specification would need to include how this state is maintained when the 
DOM changes, in particular).

It would also mean that form.elements order and submission order do not match.

I pretty much agree with what Henri Sivonen said about secret out-of-line data 
as well.

Received on Wednesday, 12 September 2007 15:57:36 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:21 UTC