W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2017

[whatwg] Suggestion: Element.scrollParent

From: Ori.A <oriadam@gmail.com>
Date: Sun, 11 Jun 2017 12:15:27 +0300
Message-ID: <CAGKxydgwEAAwbKGs-ofz7nZNS4wAbdzrWKpf=s5XtW8xLTbt=g@mail.gmail.com>
To: whatwg@whatwg.org
Suggestion: Element.scrollParent
Returns the closest element which controls the position of current element
with a scroll.


This feature is useful in many cases, easy for browsers to implement and
hard for plugins such as jQueryUI to get it right.

Thanks
Received on Sunday, 11 June 2017 09:16:33 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 11 June 2017 09:16:34 UTC