play-co / timestep

GNU General Public License v3.0
16 stars 27 forks source link

Added getBoundingClientRect to the native Canvas object. #42

Closed sjrct closed 9 years ago

sjrct commented 9 years ago

As defined on the Element object.

jwilm commented 9 years ago

Why seal the object?

sjrct commented 9 years ago

I thought I recalled reading somewhere in the depths of some documentation that the object returned by getBoundingClientRect was as such, but being unable to locate that again, and seeing that Chrome does no such thing, perhaps I was wrong.