-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consider transforms correctly in some of the new DOM layout methods
Summary: This fixes these methods to ignore transforms, as per the spec: * `offsetLeft` * `offsetTop` * `offsetWidth` * `offsetHeight` * `clientLeft` * `clientTop` * `clientWidth` * `clientHeight` `scrollWidth` and `scrollHeight` are the last methods we need to fix, as their fix is more complex than in these cases. I'll do it in a follow-up diff. Changelog: [internal] Reviewed By: NickGerleman Differential Revision: D49069517 fbshipit-source-id: 1b26be6517f0bd1516c8eb5c2d2fdf1021257bf7
- Loading branch information
1 parent
7d49d05
commit c38bc62
Showing
6 changed files
with
51 additions
and
24 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