+ // Check if natively block-level elements act like inline-block
+ // elements when setting their display to 'inline'
+ // (IE < 8 does this)
+ if ( 'zoom' in div.style ) {
+ div.style.display = 'inline';
+
+ // Layout is necessary to trigger this “feature”
+ div.style.zoom = 1;
+ jQuery.support.inlineBlockNeedsLayout = div.offsetWidth === 2;
+ }
+