enyojs/enyo — pull request #209 by onecrayon (2012-12-14 20:29:17+00:00)
Title: Fixed measurement discrepancies when parent elements have borders

There was a shortcoming in the original viewport measuring code that would cause the coordinates to be off if one of the parent elements had a border; this push both fixes that issue and updates the test suite to verify the new logic.

Note that I also removed all the extraneous `var` keywords and reverted back to a comma-delimited variable instantiation; the problem in my original commit with global var assignment wasn't the comma pattern, it was the `left = top = 0` pattern.