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

[whatwg] Update to the Adoption Agency Algorithm

From: Blanchard, Todd <tobl@amazon.com>
Date: Thu, 2 Feb 2006 11:01:58 -0800
Message-ID: <B13FD3F68424FA4DAD378D12312011D8011E5D70@exchg-sea5-04.ant.amazon.com>
What I want to know is:  if the "cloned" node has an id attribute, and id is meant to be unique, then how do we resolve this conflict?  I mention this because bad html and duplicate id's in documents have caused havoc when trying to build javascript applications.

-Todd Blalnchard 

-----Original Message-----
From: whatwg-bounces@lists.whatwg.org [mailto:whatwg-bounces@lists.whatwg.org] On Behalf Of Ian Hickson
Sent: Friday, January 27, 2006 6:12 PM
To: whatwg at whatwg.org
Subject: [whatwg] Update to the Adoption Agency Algorithm

Just a note to those of you who reviewed the new parsing rules yesterday: 
I changed them today to take into account some feedback from Hyatt. 
Basically the old algorithm was creating too many nodes. This is now fixed, the algorithm only moves the nodes that are being closed, not the other inlines it happens to cross.


Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 2 February 2006 11:01:58 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:45 UTC