Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manually merging Aaron's getOffsets IE fix, whitespace fix
- Loading branch information
1 parent
61c4442
commit fead0b5
Showing
2 changed files
with
11 additions
and
4 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
fead0b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is NOT a fix. It actually breaks getOffsets for IE when using several block level elements of equal size. When one acts as a parent with style overflow:hidden and contains several children, Fx.Scroll’s method toElement() is unable to correctly find the positions of children (in IE). Reverting commited changes solves the issue.
fead0b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We really need a functional tests, especially since we have no tests for positions at all. Just something really simple!
fead0b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if it helps, I post another test case on lighthouse :
http://mootools.lighthouseapp.com/projects/2706-mootools/tickets/461-getoffsets#ticket-461-2