UNCONFIRMED63890
Setting focus on clipped DIV can cause unnecessary scrolling
https://bugs.webkit.org/show_bug.cgi?id=63890
Summary Setting focus on clipped DIV can cause unnecessary scrolling
cthrash99
Reported 2011-07-03 22:56:01 PDT
Created attachment 99600 [details] 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
Attachments
Simple HTML repro file (1.19 KB, text/html)
2011-07-03 22:56 PDT, cthrash99
no flags
Note You need to log in before you can comment on or make changes to this bug.