- return blockBoundaryDisplayMatch[ this.getComputedStyle( 'display' ) ] ||\r
- nodeNameMatches[ this.getName() ];\r
+ // Don't consider floated formatting as block boundary, fall back to dtd check in that case. (#6297)\r
+ return this.getComputedStyle( 'float' ) == 'none' && blockBoundaryDisplayMatch[ this.getComputedStyle( 'display' ) ]\r
+ || nodeNameMatches[ this.getName() ];\r