Ticket #2977: 2977.patch
File 2977.patch, 663 bytes (added by , 15 years ago) |
---|
-
_source/core/dom/domwalker.js
228 228 { 229 229 if ( from.isBlockBoundary( customNodeNames ) ) 230 230 { 231 /* 232 * Special case for #2977: 233 * If we've come from a <br /> node at the end of a block, then we haven't 234 * crossed any block boundary yet. 235 */ 236 if ( from.getName() == 'br' && from.getParent().isBlockBoundary() && from.equals( from.getParent().getLast() ) ) 237 return; 238 231 239 evt.stop(); 232 240 this.stop(); 233 241 }