(el, x)
| 661 | } while ((el = el.parentElement)); |
| 662 | } |
| 663 | function isContentOverflowing(el, x) { |
| 664 | return x |
| 665 | ? el.clientWidth + 10 < el.scrollWidth |
| 666 | : el.clientHeight + 10 < el.scrollHeight; |
| 667 | } |
| 668 | function computedOverflow(el, x) { |
| 669 | let property = x ? "overflow-x" : "overflow-y"; |
| 670 | return getComputedStyle(el, "").getPropertyValue(property); |
no outgoing calls
no test coverage detected