This repository has been archived by the owner on Jun 28, 2023. It is now read-only.
forked from gwtproject/gwt
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Correct implementation of document.getScrollTop/left.
For old browsers (<= ie10), we keep the old logic and relies on a quirk/strict mode check to find the document scroll element. For other browsers, we check first of document.scrollingElement exists and use it computing scrollTop/Left. If not we use document.body for webkit browser or rely on the quirk/strict mode check for other browsers. We default to document.documentElement if all the logic above return null (SVG document) - Fix getAbsoluteLeft/Top computation for webkit browsers to rely on the correct implementation of document.getScrollLeft/Top. Bug: gwtproject#9542 Bug-Link: gwtproject#9542 Change-Id: I02fe4de00a3f646687f0550e603fc7bb4aca1b80
- Loading branch information
1 parent
090ef8e
commit 0f6c2b7
Showing
6 changed files
with
45 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters