Patent · US Active

Efficient event delegation in browser scripts

US9740669B2 · kind B2 · utility

0Cited by
29References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateMar 3, 2015
Grant dateAug 22, 2017
Priority date
Expiry dateFeb 17, 2036

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F16/84
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Event handlers associated with markup language documents represented in a web browser are identified efficiently in response to an event. The markup language document is represented as a hierarchical structure comprising nodes and edges. Nodes are associated with node types, each node type defining how descendants of the node respond to events. The markup language document provides mappings of sets of node types to sets of handlers. In response to an event associated with a node, the types of nodes encountered in a path connecting the node with the root node are identified. Handler sets of the node types encountered in the path connecting a node with the root node are used to determine the handlers to be executed in response to the event. Data is associated with nodes to allow handler code to distinguish between nodes of the same node type.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.