CanvasInput recreates and improves a full DOM element within HTML5 Canvas.
DOMHTML5Canvas
http://goldfirestudios.com/blog/108/CanvasInput-HTML5-Canvas-Text-Input