W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2017

Re: [csswg-drafts] [cssom-view] Consider adding Element.scrollParent

From: Oria via GitHub <sysbot+gh@w3.org>
Date: Sun, 25 Jun 2017 15:44:57 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-310910211-1498405496-sysbot+gh@w3.org>
You are right, nested scroll-enabled elements might be needed.
Perhaps scrollParent and scrollParents

Here is a use case example:

On Sun, Jun 25, 2017 at 5:40 PM, Mark Kennedy <notifications@github.com>

> I posted a reply on the www-dom mailing list, but I'll leave it here
> also...
> This sounds like a cool feature but I'm curious about the use-cases as
> I've never come across a situation where I've needed this. Are there not
> any cases where there may be two parents in the hierarchy and you don't
> want the closest, but the one after it? Also, a more specific name would be
> better like closestScrollParent or similar. scrollParent is vague since
> there could be multiple "scrollParent"s technically (i.e. grandparents,
> great grandparents, etc 😁 )
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/w3c/csswg-drafts/issues/1522#issuecomment-310906419>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ACqFOUWtuoPZzYgZCfB2TjTlHg9C61uEks5sHnFRgaJpZM4N2g-7>
> .

מנסים טבעונות ל-22 יום:

GitHub Notification of comment by oriadam
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1522#issuecomment-310910211 using your GitHub account
Received on Sunday, 25 June 2017 15:45:03 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:34 UTC