Buckets:
| import css from './css'; | |
| import ownerDocument from './ownerDocument'; | |
| var isHTMLElement = function isHTMLElement(e) { | |
| return !!e && 'offsetParent' in e; | |
| }; | |
| export default function offsetParent(node) { | |
| var doc = ownerDocument(node); | |
| var parent = node && node.offsetParent; | |
| while (isHTMLElement(parent) && parent.nodeName !== 'HTML' && css(parent, 'position') === 'static') { | |
| parent = parent.offsetParent; | |
| } | |
| return parent || doc.documentElement; | |
| } |
Xet Storage Details
- Size:
- 465 Bytes
- Xet hash:
- 5a661fe67fc2c3c1e92ca6acba328e3221b5b94f525cc860dc6d92f5392e3c9c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.