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

Re: [whatwg] Suggestion: Element.scrollParent

From: Simon Pieters <simonp@opera.com>
Date: Sun, 11 Jun 2017 21:48:46 +0200
To: whatwg@whatwg.org, "Ori.A" <oriadam@gmail.com>
Message-ID: <op.y1opbkf9idj3kv@simons-mbp.lan>
On Sun, 11 Jun 2017 11:15:27 +0200, Ori.A <oriadam@gmail.com> wrote:

> 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

This would probably be an API for cssom-view; please file an issue at  
https://github.com/w3c/csswg-drafts/issues/new with [cssom-view] in the  
title, and it would also be good to describe the use case, and maybe also  
show how pages or libraries currently work around the lack of this API.

Simon Pieters
Opera Software
Received on Sunday, 11 June 2017 19:49:15 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:43 UTC