Ok, I specced out what I think is a workable algorithm that works a lot 
better than what we had before.

It still only supports <p> and <em> elements inside <body> for now, but at 
least it does so in a way compatible with Safari and Mozilla's DOMs, and 
compatible with Opera and IE's renderings.

   http://whatwg.org/specs/web-apps/current-work/#the-main
   http://whatwg.org/specs/web-apps/current-work/#closing
   http://whatwg.org/specs/web-apps/current-work/#how-to

Cheers,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Reply via email to