Ticket #3477: 3477_2.patch
File 3477_2.patch, 885 bytes (added by , 15 years ago) |
---|
-
_source/core/dom/walker.js
263 263 */ 264 264 checkForward : function() 265 265 { 266 return iterate.call( this, false, true ) !== false; 266 var result; 267 while( ( result = iterate.call( this, false, true ) ) !== null ) 268 if ( result === false ) 269 return false; 270 return true; 267 271 }, 268 272 269 273 /** … … 273 277 */ 274 278 checkBackward : function() 275 279 { 276 return iterate.call( this, true, true ) !== false; 280 var result; 281 while( ( result = iterate.call( this, true, true ) ) !== null ) 282 if ( result === false ) 283 return false; 284 return true; 277 285 } 278 286 279 287 // The following features have been originally included in the implementation,