1. A method, comprising: at a multi-touch capable device including a touch-sensitive display, one or more processors, and memory storing a document that includes instructions for processing one or more touch events and one or more gesture events: receiving touch input signals associated with multiple concurrent finger touches on one or more elements of the document displayed on the touch-sensitive display; processing the touch input signals to determine if the touch input signals are associated with a touch gesture made with respect to one or more elements of the document; and if the touch input signals are associated with a touch gesture, forwarding a gesture event to the document for further processing by executing the instructions stored in the document.