Ticket #11319: patch_for_offset_parent_on_new_body_elements.diff
| File patch_for_offset_parent_on_new_body_elements.diff, 0.5 kB (added by rubyruy, 9 months ago) |
|---|
-
src/dom.js
old new 724 724 var position = element.getStyle('position'); 725 725 if (position !== 'static') return proceed(element); 726 726 element.setStyle({ position: 'relative' }); 727 if (element.offsetParent && element.offsetParent.tagName == 'HTML') return $(document.body) 727 728 var value = proceed(element); 728 729 element.setStyle({ position: position }); 729 730 return value;