[whatwg] Update to the Adoption Agency Algorithm

BTW, we tried to add <span> as an inline that should be reopened  
(like <font> and <b> etc.) and it broke some of our layout tests  
(snippets of real-world Web sites).  <span> clearly does not always  
reopen in WinIE and Firefox, so for now we are having to leave it out.


On Feb 2, 2006, at 11:01 AM, Blanchard, Todd wrote:

> 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 at lists.whatwg.org [mailto:whatwg- 
> bounces at 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.
>    http://whatwg.org/specs/web-apps/current-work/#closing
> Cheers,
> -- 
> Ian Hickson               U+1047E                ) 
> \._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   _ 
> \  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'-- 
> (,_..'`-.;.'

Received on Thursday, 2 February 2006 15:01:08 UTC