Ticket #3363: 3363_2.patch

File 3363_2.patch, 1.1 KB (added by Martin Kou, 16 years ago)
  • _source/core/dom/range.js

     
    844844                                                        else
    845845                                                        {
    846846                                                                // If this is a visible element.
    847                                                                 if ( sibling.$.offsetWidth > 0 )
     847                                                                // We need to check for the bookmark attribute because IE insists on
     848                                                                // rendering the display:none nodes we use for bookmarks. (#3363)
     849                                                                if ( sibling.$.offsetWidth > 0 && !sibling.getAttribute( '_fck_bookmark' ) )
    848850                                                                {
    849851                                                                        // We'll accept it only if we need
    850852                                                                        // whitespace, and this is an inline
     
    10011003                                                        else
    10021004                                                        {
    10031005                                                                // If this is a visible element.
    1004                                                                 if ( sibling.$.offsetWidth > 0 )
     1006                                                                // We need to check for the bookmark attribute because IE insists on
     1007                                                                // rendering the display:none nodes we use for bookmarks. (#3363)
     1008                                                                if ( sibling.$.offsetWidth > 0 && !sibling.getAttribute( '_fck_bookmark' ) )
    10051009                                                                {
    10061010                                                                        // We'll accept it only if we need
    10071011                                                                        // whitespace, and this is an inline
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy