[webkit-dev] Expected behavior of "scrolling" attribute for IFrame element

Darin Adler darin at apple.com
Mon Jun 13 10:51:10 PDT 2011


On Jun 13, 2011, at 10:49 AM, Simon Fraser wrote:

> On Jun 13, 2011, at 8:30 AM, Darin Adler wrote:
> 
>> As I understand it, generally speaking, if we have something like a find feature or autoscrolling code that scrolls outside the normal mechanism, it still should not scroll such an area and needs some other way to deal with content that is hidden by being off the edge of a scrollable area. This can happen with things like large margin values (particularly negative ones) as well as simply overflowing the space provided.
> 
> overflow:hidden divs can still be scrolled via JS by setting 'scrollTop', however, so it's not clear to me that programmatic scrolling should be prevented.

Good point. Even though we need to prevent find or autoscrolling from scrolling, it seems we must not prevent explicit programmatic scrolling. I’ll add a comment to the bug about this.

    -- Darin



More information about the webkit-dev mailing list