W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2006

[whatwg] Tag Soup: Blocks-in-inlines

From: liorean <liorean@gmail.com>
Date: Wed, 25 Jan 2006 19:31:43 +0100
Message-ID: <cee13aa30601251031p2f60af22x@mail.gmail.com>
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/>
Received on Wednesday, 25 January 2006 10:31:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:25 UTC