element.scrollIntoView()
Scrolls the element's ancestors so the element becomes visible. Specification: drafts.csswg.org/cssom-view/.
Results
Probed on 2026-10-19 with Node.js v22.23.3.
warpdom 0.1.6
MissingMissing: in this engine's window, this does not hold: typeof element.scrollIntoView === "function".
Report a wrong result for warpdomhappy-dom 21.0.3
Supported1 of 1 checks work.
Report a wrong result for happy-domjsdom 30.1.3
MissingMissing: in this engine's window, this does not hold: typeof element.scrollIntoView === "function".
Report a wrong result for jsdomlinkedom 0.18.13
MissingMissing: in this engine's window, this does not hold: typeof element.scrollIntoView === "function".
Report a wrong result for linkedomChecks
Exists when: typeof element.scrollIntoView === "function".
callable: scrollIntoView(), scrollIntoView(false) and scrollIntoView({ block: "center", behavior: "smooth" }) return without error. (spec)
Working around it in tests
Tests commonly assign a no-op in a setup file: Element.prototype.scrollIntoView = function () {}.