kangax/fabric.js — pull request #174 by pawelnguyen (2012-06-05 12:37:35+00:00)
Title: Canvas in a scrollable element

I needed to put canvas inside a scrollable element.
I've added getElementScroll method which is used to adjust getElementOffset results. Also, I've added onscroll event recalculating offsets every time any of canvas parent nodes is scrolled.
Hope it fixes some bugs