OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 | 49 |
50 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; | 50 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; |
51 | 51 |
52 // DOM4 | 52 // DOM4 |
53 [Reflect] attribute DOMString id; | 53 [Reflect] attribute DOMString id; |
54 readonly attribute DOMString? namespaceURI; | 54 readonly attribute DOMString? namespaceURI; |
55 readonly attribute DOMString? prefix; | 55 readonly attribute DOMString? prefix; |
56 readonly attribute DOMString? localName; | 56 readonly attribute DOMString? localName; |
57 | 57 |
58 [RaisesException] boolean matches(DOMString selectors); | 58 [RaisesException] boolean matches(DOMString selectors); |
| 59 [RaisesException] Element closest(DOMString selectors); |
59 | 60 |
60 // Common extensions | 61 // Common extensions |
61 | 62 |
62 readonly attribute long offsetLeft; | 63 readonly attribute long offsetLeft; |
63 readonly attribute long offsetTop; | 64 readonly attribute long offsetTop; |
64 readonly attribute long offsetWidth; | 65 readonly attribute long offsetWidth; |
65 readonly attribute long offsetHeight; | 66 readonly attribute long offsetHeight; |
66 [ImplementedAs=offsetParentForBindings, PerWorldBindings] readonly attribute
Element offsetParent; | 67 [ImplementedAs=offsetParentForBindings, PerWorldBindings] readonly attribute
Element offsetParent; |
67 readonly attribute long clientLeft; | 68 readonly attribute long clientLeft; |
68 readonly attribute long clientTop; | 69 readonly attribute long clientTop; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 attribute EventHandler onselectstart; | 126 attribute EventHandler onselectstart; |
126 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; | 127 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; |
127 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 128 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
128 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 129 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
129 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 130 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
130 attribute EventHandler onwheel; | 131 attribute EventHandler onwheel; |
131 }; | 132 }; |
132 | 133 |
133 Element implements ParentNode; | 134 Element implements ParentNode; |
134 Element implements ChildNode; | 135 Element implements ChildNode; |
OLD | NEW |