#2679: Indent causes infinite loop
--------------------------+-------------------------------------------------
 Reporter:  dqbai         |       Owner:  martinkou         
     Type:  Bug           |      Status:  assigned          
 Priority:  Normal        |   Milestone:                    
Component:  General       |     Version:  FCKeditor 2.5 Beta
 Keywords:  Confirmed IE  |  
--------------------------+-------------------------------------------------

Comment(by martinkou):

 So what happens here is this:

  1. FCKDomRangeIterator sees <table> inside <p><span>, tries to split
 <table> into another block.
  2. Splitting the block means all the parent tags are duplicated as well,
 so after the split, we have <p><span></span></p> and <p><span><table>...
 The iterator now looks at the newly splitted block, which is exactly the
 same as the previous block before it was split.
  3. So the iterator goes back to step 1.

 This is actually a special case of #1717 that we've left unfixed. I
 haven't really traced the execution in #2712 yet but I guess after a few
 steps in the iterator the same thing happened.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2679#comment:4>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to