[Webkit-unassigned] [Bug 66262] New: JavaScript scrolling can break completely in specific circumstances

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 15 16:29:01 PDT 2011


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

           Summary: JavaScript scrolling can break completely in specific
                    circumstances
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: saul.rennison at gmail.com


Created an attachment (id=103975)
 --> (https://bugs.webkit.org/attachment.cgi?id=103975&action=review)
Test page

window.pageYOffset, document.documentElement.scrollTop, window.scrollTo, and probably any other JavaScript scroll offset functions, do not work whatsoever when using the following CSS properties on a maximized window:

html { overflow-y: auto; }

body {
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    overflow-y: scroll;
}

In addition, the window.onscroll event does not seem to be triggered. A situation in which these CSS properties would have valid use is available in the attached test page.

As stated above, this problem does not occur when the window is not maximized.

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