summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resources/webidl2/test/syntax/idl/implements.widl
blob: 7a310926f1c8d441d758af06a81e0dafa01bf592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06
  interface Node {
    readonly attribute unsigned short nodeType;
    // ...
  };

  interface EventTarget {
    void addEventListener(DOMString type,
                          EventListener listener,
                          boolean useCapture);
    // ...
  };

  Node implements EventTarget;