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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 87 |
88 void scrollIntoViewIfNeeded(optional boolean centerIfNeeded); | 88 void scrollIntoViewIfNeeded(optional boolean centerIfNeeded); |
89 void scrollByLines([Default=Undefined] optional long lines); | 89 void scrollByLines([Default=Undefined] optional long lines); |
90 void scrollByPages([Default=Undefined] optional long pages); | 90 void scrollByPages([Default=Undefined] optional long pages); |
91 | 91 |
92 // HTML 5 | 92 // HTML 5 |
93 HTMLCollection getElementsByClassName(DOMString classNames); | 93 HTMLCollection getElementsByClassName(DOMString classNames); |
94 [TreatNullAs=NullString, CustomElementCallbacks, PerWorldBindings, ActivityL
ogging=SetterForIsolatedWorlds, RaisesException=Setter] attribute DOMString inne
rHTML; | 94 [TreatNullAs=NullString, CustomElementCallbacks, PerWorldBindings, ActivityL
ogging=SetterForIsolatedWorlds, RaisesException=Setter] attribute DOMString inne
rHTML; |
95 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att
ribute DOMString outerHTML; | 95 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att
ribute DOMString outerHTML; |
96 | 96 |
97 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E
lement insertAdjacentElement([Default=Undefined] optional DOMString where, | 97 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E
lement insertAdjacentElement(DOMString where, Element element); |
98 [Default=Undefined] optional Element element); | 98 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS
tring where, DOMString text); |
99 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText([Def
ault=Undefined] optional DOMString where, | |
100 [Default=Undefined] optional DOMString text); | |
101 [CustomElementCallbacks, RaisesException] void insertAdjacentHTML(DOMString
where, DOMString html); | 99 [CustomElementCallbacks, RaisesException] void insertAdjacentHTML(DOMString
where, DOMString html); |
102 | 100 |
103 [Reflect=class, PerWorldBindings] attribute DOMString className; | 101 [Reflect=class, PerWorldBindings] attribute DOMString className; |
104 [PerWorldBindings] readonly attribute DOMTokenList classList; | 102 [PerWorldBindings] readonly attribute DOMTokenList classList; |
105 | 103 |
106 [PerWorldBindings] readonly attribute DOMStringMap dataset; | 104 [PerWorldBindings] readonly attribute DOMStringMap dataset; |
107 | 105 |
108 // NodeSelector - Selector API | 106 // NodeSelector - Selector API |
109 [RaisesException] Element querySelector(DOMString selectors); | 107 [RaisesException] Element querySelector(DOMString selectors); |
110 [RaisesException] NodeList querySelectorAll(DOMString selectors); | 108 [RaisesException] NodeList querySelectorAll(DOMString selectors); |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 149 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
152 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 150 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
153 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 151 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
154 attribute EventHandler onwebkitfullscreenchange; | 152 attribute EventHandler onwebkitfullscreenchange; |
155 attribute EventHandler onwebkitfullscreenerror; | 153 attribute EventHandler onwebkitfullscreenerror; |
156 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH
andler onwheel; | 154 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH
andler onwheel; |
157 }; | 155 }; |
158 | 156 |
159 Element implements ParentNode; | 157 Element implements ParentNode; |
160 Element implements ChildNode; | 158 Element implements ChildNode; |
OLD | NEW |