Patent · US Active

Efficient event delegation in browser scripts

US10346521B2 · kind B2 · utility

0Cited by
30References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateAug 7, 2017
Grant dateJul 9, 2019
Priority date
Expiry dateAug 15, 2037

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.