(el)
| 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 |
| 570 | if (el.contentEditable === 'false') { return false; } // stop the lookup |
no test coverage detected
searching dependent graphs…