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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 [Custom=Setter] attribute long scrollTop; | 79 [Custom=Setter] attribute long scrollTop; |
80 readonly attribute long scrollWidth; | 80 readonly attribute long scrollWidth; |
81 readonly attribute long scrollHeight; | 81 readonly attribute long scrollHeight; |
82 | 82 |
83 void focus(); | 83 void focus(); |
84 void blur(); | 84 void blur(); |
85 void scrollIntoView(optional boolean alignWithTop); | 85 void scrollIntoView(optional boolean alignWithTop); |
86 | 86 |
87 // WebKit extensions | 87 // WebKit extensions |
88 | 88 |
89 void scrollIntoViewIfNeeded(optional boolean centerIfNeeded); | 89 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option
al boolean centerIfNeeded); |
90 void scrollByLines([Default=Undefined] optional long lines); | 90 [MeasureAs=ElementScrollByLines] void scrollByLines([Default=Undefined] opti
onal long lines); |
91 void scrollByPages([Default=Undefined] optional long pages); | 91 [MeasureAs=ElementScrollByPages] void scrollByPages([Default=Undefined] opti
onal long pages); |
92 | 92 |
93 // HTML 5 | 93 // HTML 5 |
94 HTMLCollection getElementsByClassName(DOMString classNames); | 94 HTMLCollection getElementsByClassName(DOMString classNames); |
95 [TreatNullAs=NullString, CustomElementCallbacks, PerWorldBindings, LogActivi
ty=SetterOnly, RaisesException=Setter] attribute DOMString innerHTML; | 95 [TreatNullAs=NullString, CustomElementCallbacks, PerWorldBindings, LogActivi
ty=SetterOnly, RaisesException=Setter] attribute DOMString innerHTML; |
96 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att
ribute DOMString outerHTML; | 96 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att
ribute DOMString outerHTML; |
97 | 97 |
98 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E
lement insertAdjacentElement(DOMString where, Element element); | 98 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E
lement insertAdjacentElement(DOMString where, Element element); |
99 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS
tring where, DOMString text); | 99 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS
tring where, DOMString text); |
100 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void
insertAdjacentHTML(DOMString where, DOMString html); | 100 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void
insertAdjacentHTML(DOMString where, DOMString html); |
101 | 101 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 138 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
139 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 139 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
140 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 140 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
141 attribute EventHandler onwebkitfullscreenchange; | 141 attribute EventHandler onwebkitfullscreenchange; |
142 attribute EventHandler onwebkitfullscreenerror; | 142 attribute EventHandler onwebkitfullscreenerror; |
143 [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel; | 143 [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel; |
144 }; | 144 }; |
145 | 145 |
146 Element implements ParentNode; | 146 Element implements ParentNode; |
147 Element implements ChildNode; | 147 Element implements ChildNode; |
OLD | NEW |