[Webkit-unassigned] [Bug 83974] New: scrollTop value for body element always 0 if height is set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 14 01:49:14 PDT 2012


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

           Summary: scrollTop value for body element always 0 if height is
                    set
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Mac OS X 10.7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: caleb at imakewebthings.com


I've attached a couple reduced test cases. In the failing test case the html element has overflow-x:hidden and the body has a height of 100%. Regardless of scroll position, body reports a scrollTop of 0 at all times.  Removing either the overflow-x hidden on html or the height on body result in the body element reporting scrollTop correctly, as can be seeing in the working case.

To reproduce:
1. Open failing-case attachment.
2. Scroll down any amount and click the Report scrollTop Values button.
3. Compare the results to the same steps using working-case attachment.

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