[whatwg] Tag Soup: Blocks-in-inlines

liorean liorean at gmail.com
Wed Jan 25 10:31:43 PST 2006


On 25/01/06, Henri Sivonen <hsivonen at iki.fi> wrote:
> On Jan 25, 2006, at 19:50, liorean wrote:
> > So, how about dropping id uniqueness then?
> UAs will have deal with author-introduced duplicate ids anyway, so
> parser-introduced duplicates are not a big deal.

Well, the difference is that they can deal with that any way they
like; including just going by the first/last occurence, thus in fact
ensuring uniqueness in the DOM. Parser introduced duplicate ids
require moving the handling of duplicate ids to when you're trying to
use them for referencing an element; with solutions such as giving a
nodelist instead of a node as return value from getElementById, which
would in most cases break the script anyway.
--
David "liorean" Andersson
<uri:http://liorean.web-graphics.com/>



More information about the whatwg mailing list