(el)
| 564 | function getRectWidth (rect) { return rect.width || (rect.right - rect.left); } |
| 565 | function getRectHeight (rect) { return rect.height || (rect.bottom - rect.top); } |
| 566 | function getParent (el) { return el.parentNode === doc ? null : el.parentNode; } |
| 567 | function isInput (el) { return el.tagName === 'INPUT' || el.tagName === 'TEXTAREA' || el.tagName === 'SELECT' || isEditable(el); } |
| 568 | function isEditable (el) { |
| 569 | if (!el) { return false; } // no parents were editable |
no outgoing calls
no test coverage detected
searching dependent graphs…