[Webkit-unassigned] [Bug 63890] New: Setting focus on clipped DIV can cause unnecessary scrolling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 3 22:56:00 PDT 2011


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

           Summary: Setting focus on clipped DIV can cause unnecessary
                    scrolling
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cthrash99 at hotmail.com


Created an attachment (id=99600)
 --> (https://bugs.webkit.org/attachment.cgi?id=99600&action=review)
Simple HTML repro file

In the attached example, there's a DIV inside an absolutely positioned DIV.  The inner DIV is large, but is clipped by the outer DIV.

When you attempt to set the focus on the inner DIV, it appears that the entire DIVs size is used to determine whether the page should scroll, not just the clipped portion.  Note that this is not the behavior in Mozilla or IE.

This was discovered during accessibility testing on a project.  This project has HTML 'dialogs' that needlessly scroll because of this issue.  Extraneous scrolling is bad UX.


Repro on following clients:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.112 Safari/534.30
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-us) AppleWebKit/533.20.25 (KHTML, like Gecko) Version/5.0.4 Safari/533.20.27
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.100 Safari/534.30

-- 
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