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

Antonio Gomes tonikitoo at gmail.com
Mon Jun 13 22:02:16 PDT 2011


One code path to scroll is through ScrollbarClient inheritance (see
RenderLayer). So it relies on scrollbars code.

On Tuesday, June 14, 2011, Mustafizur Rahaman <mustaf.here at gmail.com> wrote:
> The real problem to fix would be not have scrolling tied to having or not scrollbars, as I see it.
>
>
> Antonio, Do you mean we should scroll depending on the content size irrespective of whether the scrollbar is shown or not.If so, that is the current behavior anyway.
>
> The other way I was thinking (not sure whether this is possible) if my content size is larger (i.e. i need scrolling ), i should ignore the "scrolling" attribute & show the scrollbar (this needs a change in the spec as well). Will this behavior have any side effect?
>
> Thanks,
> Rahaman
>
> On Tue, Jun 14, 2011 at 12:01 AM, Antonio Gomes <tonikitoo at gmail.com> wrote:
>
>
>
>
> overflow:hidden divs are used to implement custom scrollbars.
> That, by itself sounds likea hack :)
>
>
>
> While find-in-page breaking wouldn't be too bad, breaking autoscrolling on these sites would likely require us to rollback the change. Maybe we should expose an attribute or CSS property to allow controlling this to give sites a workaround?
>
>
> The real problem to fix would be not have scrolling tied to having or not scrollbars, as I see it.
>
> --Antonio Gomes
>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
>

-- 
--Antonio Gomes


More information about the webkit-dev mailing list