[Webkit-unassigned] [Bug 61558] iframe with scrolling=no incorrectly autoscrollable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 14 02:21:35 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=61558


Swapna <spottabathini at innominds.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #110984|                            |review?
               Flag|                            |




--- Comment #3 from Swapna <spottabathini at innominds.com>  2011-10-14 02:21:35 PST ---
Created an attachment (id=110984)
 --> (https://bugs.webkit.org/attachment.cgi?id=110984&action=review)
Patch to fix scrolling of frame content with "scrolling=no"

Hi,
As per the spec I came to know that,if iframe attribute is scrolling="no" then it should n't allow scroll of frame content.
As per my observation, when I load the mentioned test case, it is not showing any scroll bar(correct behaviour).
But when we click & drag on the content of iframe, content is getting scrolled.

In function  RenderLayer::scrollRectToVisible scroll is applied on frame content for  mouse click & drag  event.
But here before applying scroll on frame content, need to check for frame's scrolling mode.
So if we add the check for frame's scrolling mode before applying scroll( see the patch), the issue is getting resolved.

And in the test case, if frame content scrolled is "zero" then it is printing log as "FAILED".
But it should print "PASSED" as per the description provided in test case.
So I changed the test case accordingly (see the patch).
Can any one please review the patch?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list