PageSourceSearch

https://svi.nl/public/generated/js/vendor_dist/@popperjs/core/dist/esm/dom-utils/isScrollParent.js

js svi.nl collected 2026-10-01 11:32:15 UTC 440 bytes, 10 lines download raw bytes

vendor: 440 bytes, lines 1-10
1import getComputedStyle from "./getComputedStyle.js";
2export default function isScrollParent(element) {
3  // Firefox wants us to check `-x` and `-y` variations as well
4  var _getComputedStyle = getComputedStyle(element),
5      overflow = _getComputedStyle.overflow,
6      overflowX = _getComputedStyle.overflowX,
7      overflowY = _getComputedStyle.overflowY;
8
9  return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
10}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.