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

RE: Versioning and html[5]

From: Dave Raggett <dsr@w3.org>
Date: Mon, 16 Apr 2007 03:22:33 +0100 (BST)
To: Ian Hickson <ian@hixie.ch>
cc: Chris Wilson <Chris.Wilson@microsoft.com>, "public-html@w3.org" <public-html@w3.org>
Message-ID: <Pine.LNX.4.64.0704160308370.5293@localhost>

On Sun, 15 Apr 2007, Ian Hickson wrote:

>> Lachlan wrote:
>>> But in the case of, say, IE's broken DOM, I seriously doubt that 
>>> there are any sites that absolutely depend on the non-tree 
>>> structure of IE's DOM in certain cases.
>>
>> Not true.  <table> and <form> are still occasionally interleaved.
>
> The HTML5 parser spec handles this case, even with a tree structure.

Hmm, how exactly?

If a form start tag is appear in the middle of one table cell and 
the end tag in the middle of another, how do you create a tree for 
existing content? The form element is clearly not well formed and 
some kind of surgery will be needed, e.g. getting the relevant 
fields to reference a form element via an attribute rather than 
being part of the form element's content.

Note that I was unable to implement the WF2 form attribute on 
Firefox using a script, although it was easy to do so on Opera.

I thought that you were particularly concerned with graceful 
fallback for new content on old browsers with or without scripts 
being enabled.

-- Dave
Received on Monday, 16 April 2007 02:23:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:15:53 GMT