| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 | 94 |
| 95 [PerWorldBindings] readonly attribute DOMStringMap dataset; | 95 [PerWorldBindings] readonly attribute DOMStringMap dataset; |
| 96 | 96 |
| 97 // NodeSelector - Selector API | 97 // NodeSelector - Selector API |
| 98 [RaisesException] Element querySelector(DOMString selectors); | 98 [RaisesException] Element querySelector(DOMString selectors); |
| 99 [RaisesException] NodeList querySelectorAll(DOMString selectors); | 99 [RaisesException] NodeList querySelectorAll(DOMString selectors); |
| 100 | 100 |
| 101 // WebKit extension, pending specification. | 101 // WebKit extension, pending specification. |
| 102 [RaisesException] boolean webkitMatchesSelector([Default=Undefined] optional
DOMString selectors); | 102 [RaisesException] boolean webkitMatchesSelector([Default=Undefined] optional
DOMString selectors); |
| 103 | 103 |
| 104 // ElementTraversal API | 104 // ParentNode interface API |
| 105 [PerWorldBindings] readonly attribute HTMLCollection children; |
| 105 [PerWorldBindings] readonly attribute Element firstElementChild; | 106 [PerWorldBindings] readonly attribute Element firstElementChild; |
| 106 [PerWorldBindings] readonly attribute Element lastElementChild; | 107 [PerWorldBindings] readonly attribute Element lastElementChild; |
| 108 [PerWorldBindings] readonly attribute unsigned long childElementCount; |
| 109 |
| 110 // ElementTraversal API |
| 107 [PerWorldBindings] readonly attribute Element previousElementSibling; | 111 [PerWorldBindings] readonly attribute Element previousElementSibling; |
| 108 [PerWorldBindings] readonly attribute Element nextElementSibling; | 112 [PerWorldBindings] readonly attribute Element nextElementSibling; |
| 109 [PerWorldBindings] readonly attribute unsigned long childElementCount; | |
| 110 | 113 |
| 111 // ShadowAware API | 114 // ShadowAware API |
| 112 [Reflect=pseudo, ImplementedAs=pseudo, PerWorldBindings] attribute DOMString
webkitPseudo; | 115 [Reflect=pseudo, ImplementedAs=pseudo, PerWorldBindings] attribute DOMString
webkitPseudo; |
| 113 [ImplementedAs=createShadowRoot, RaisesException] ShadowRoot webkitCreateSha
dowRoot(); | 116 [ImplementedAs=createShadowRoot, RaisesException] ShadowRoot webkitCreateSha
dowRoot(); |
| 114 [ImplementedAs=shadowRoot, PerWorldBindings] readonly attribute ShadowRoot w
ebkitShadowRoot; | 117 [ImplementedAs=shadowRoot, PerWorldBindings] readonly attribute ShadowRoot w
ebkitShadowRoot; |
| 115 [ImplementedAs=insertionParentForBinding, PerWorldBindings] readonly attribu
te Node webkitInsertionParent; | 118 [ImplementedAs=insertionParentForBinding, PerWorldBindings] readonly attribu
te Node webkitInsertionParent; |
| 116 | 119 |
| 117 // DOM 4 | 120 // DOM 4 |
| 118 [RaisesException] void remove(); | 121 [RaisesException] void remove(); |
| 119 | 122 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 [NotEnumerable, PerWorldBindings] attribute EventListener onsearch; | 203 [NotEnumerable, PerWorldBindings] attribute EventListener onsearch; |
| 201 [NotEnumerable, PerWorldBindings] attribute EventListener onselectstart; | 204 [NotEnumerable, PerWorldBindings] attribute EventListener onselectstart; |
| 202 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchstart; | 205 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchstart; |
| 203 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchmove; | 206 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchmove; |
| 204 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchend; | 207 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchend; |
| 205 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchcancel; | 208 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchcancel; |
| 206 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen
change; | 209 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen
change; |
| 207 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen
error; | 210 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen
error; |
| 208 }; | 211 }; |
| 209 | 212 |
| OLD | NEW |