mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Generate code for handling callbacks. Implement add/removeEventListener and hacky dispatchEvent proof-of-concept.
This commit is contained in:
parent
06b1db8818
commit
7ecf5abbbd
18 changed files with 491 additions and 331 deletions
|
@ -14,7 +14,7 @@
|
|||
interface URI;
|
||||
interface UserDataHandler;*/
|
||||
|
||||
interface Node /*: EventTarget*/ {
|
||||
interface Node : EventTarget {
|
||||
const unsigned short ELEMENT_NODE = 1;
|
||||
const unsigned short ATTRIBUTE_NODE = 2; // historical
|
||||
const unsigned short TEXT_NODE = 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue