Re: [cssom-view] Allowing scrollIntoView() to only scroll the nearest scroll container

On Mon, Sep 22, 2014 at 2:49 AM, Simon Pieters <simonp@opera.com> wrote:
> On Fri, 19 Sep 2014 17:31:23 +0200, Tab Atkins Jr. <jackalmage@gmail.com>
> wrote:
>>> OK. So how about:
>>>
>>> * "scroll everything"
>>> * "scroll everything up to the nearest frame"
>>> * "scroll everything up the specified element (same-document only)"
>>>
>>> Or don't we need the nearest frame?
>>
>> What do you mean by "frame" here?
>
> Browsing context, e.g. <iframe>.

Ah!  If you were going to introduce something between "window" and
"this element", "frame" is a decent one; it's pretty stable, unlike
"nearest scrollable container".  On the other hand, it's trivial to
duplicate by just scrolling to document.documentElement, no?

~TJ

Received on Monday, 22 September 2014 16:13:58 UTC