Bug 68084 - window.scrollX should agree with document.body.scrollLeft when page is scaled
Summary: window.scrollX should agree with document.body.scrollLeft when page is scaled
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: John Knottenbelt
URL:
Keywords:
Depends on:
Blocks: 68075
  Show dependency treegraph
 
Reported: 2011-09-14 09:02 PDT by John Knottenbelt
Modified: 2011-09-14 16:51 PDT (History)
5 users (show)

See Also:


Attachments
Patch (2.74 KB, patch)
2011-09-14 09:04 PDT, John Knottenbelt
simon.fraser: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Knottenbelt 2011-09-14 09:02:17 PDT
window.scrollX should agree with document.body.scrollLeft
Comment 1 John Knottenbelt 2011-09-14 09:04:18 PDT
Created attachment 107337 [details]
Patch
Comment 2 John Knottenbelt 2011-09-14 09:05:29 PDT
This test case shows how window.scrollX differs from document.body.scrollLeft (and similarly window.scrollY with document.body.scrollTop) when the page is scaled with EventSender.scalePageBy.

Please let me know if you agree or not with this test case.
Comment 3 Simon Fraser (smfr) 2011-09-14 09:18:26 PDT
Comment on attachment 107337 [details]
Patch

We can't land a page without a source change that fixes the bug.