On Tue, 31 Jan 2012 23:35:45 +0100, Charles Pritchard <ch...@jumis.com> wrote:
I'd like to see scrollTop and scrollLeft supported for the Canvas element. They would simply fire an onscroll event on the element, and do nothing else. Many Canvas UIs use only one visible canvas layer, or otherwise, one main canvas layer.

That would require special casing <canvas> in http://dev.w3.org/csswg/cssom-view/#scroll-an-element which I'm not sure is a good idea. Why don't you just dispatch a synthetic scroll event?


--
Anne van Kesteren
http://annevankesteren.nl/

Reply via email to