The Element.closest() method returns the closest ancestor of the current element (or the current element itself) which matches the selectors given in parameter. If there isn't such an ancestor, it returns null.
The Element.scrollIntoView() method scrolls the current element into the visible area of the browser window.
The HTMLPictureElement interface represents a <picture> HTML element. It doesn't implement specific properties or methods.