Patent ID: 8438473

Claim:
A method, comprising: receiving a webpage at an electronic device; determining whether a touch event handling property is defined for the webpage; receiving a touch event at the electronic device while the webpage is displayed in a browser environment executing on the electronic device; when the touch event handling property is not defined for the webpage, or when the touch event handling property is defined for the webpage and is assigned a value indicating that default handling functions included with the browser environment are permitted, if a default handling function is available to handle the touch event, handling the touch event with the default handling function; if a default handling function is not available to handle the touch event and a script or other webpage-defined event handler is provided with the webpage to handle the touch event, executing the script or other webpage-defined event handler to handle the touch event; when the touch event handling property is defined for the webpage and is assigned a value indicating that default handling functions are not permitted, executing the script or other webpage-defined event handler to handle the touch event, if the script or other webpage-defined event handler is provided for the webpage.