#2113: Safari: <span class="Apple-style-span"> created when inserting special
characters
------------------------+---------------------------------------------------
  Reporter:  martinkou  |       Owner:  martinkou               
      Type:  Bug        |      Status:  assigned                
  Priority:  Normal     |   Milestone:  Safari Compatibility    
 Component:  General    |     Version:  FCKeditor 2.6           
Resolution:             |    Keywords:  Confirmed Safari Review-
------------------------+---------------------------------------------------
Changes (by alfonsoml):

  * keywords:  Confirmed Safari Review? => Confirmed Safari Review-

Comment:

 I think that getElementsByTagName returns a live collection, so it's
 automatically updated whenever the content of the document changes, so in
 order to properly remove some node, the for must be done backwards, or it
 could miss the next node:
 {{{
         for ( var i = spans.length -1; i >= 0 ; i-- )
 }}}

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2113#comment:6>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to