MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / overflowNotHidden

Function overflowNotHidden

scripts/smoothScroll.js:673–675  ·  view source on GitHub ↗
(el, x)

Source from the content-addressed store, hash-verified

671 }
672 // typically for <body> and <html>
673 function overflowNotHidden(el, x) {
674 return computedOverflow(el, x) != "hidden";
675 }
676 // for all other elements
677 function overflowAutoOrScroll(el, x) {
678 return /^(scroll|auto)$/.test(computedOverflow(el, x));

Callers 1

overflowingAncestorFunction · 0.85

Calls 1

computedOverflowFunction · 0.85

Tested by

no test coverage detected