| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 void scrollIntoViewIfNeeded(optional boolean centerIfNeeded); |
| 90 void scrollByLines([Default=Undefined] optional long lines); | 90 void scrollByLines([Default=Undefined] optional long lines); |
| 91 void scrollByPages([Default=Undefined] optional long pages); | 91 void scrollByPages([Default=Undefined] optional long pages); |
| 92 | 92 |
| 93 // HTML 5 | 93 // HTML 5 |
| 94 NodeList getElementsByClassName([Default=Undefined] optional DOMString name)
; | 94 NodeList getElementsByClassName([Default=Undefined] optional DOMString name)
; |
| 95 [TreatNullAs=NullString, CustomElementCallbacks, PerWorldBindings, ActivityL
ogging=SetterForIsolatedWorlds, SetterRaisesException] attribute DOMString inner
HTML; |
| 96 [TreatNullAs=NullString, CustomElementCallbacks, SetterRaisesException] attr
ibute DOMString outerHTML; |
| 95 | 97 |
| 96 [Reflect=class, TreatNullAs=NullString, PerWorldBindings] attribute DOMStrin
g className; | 98 [Reflect=class, TreatNullAs=NullString, PerWorldBindings] attribute DOMStrin
g className; |
| 97 [PerWorldBindings] readonly attribute DOMTokenList classList; | 99 [PerWorldBindings] readonly attribute DOMTokenList classList; |
| 98 | 100 |
| 99 [PerWorldBindings] readonly attribute DOMStringMap dataset; | 101 [PerWorldBindings] readonly attribute DOMStringMap dataset; |
| 100 | 102 |
| 101 // NodeSelector - Selector API | 103 // NodeSelector - Selector API |
| 102 [RaisesException] Element querySelector(DOMString selectors); | 104 [RaisesException] Element querySelector(DOMString selectors); |
| 103 [RaisesException] NodeList querySelectorAll(DOMString selectors); | 105 [RaisesException] NodeList querySelectorAll(DOMString selectors); |
| 104 | 106 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 148 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
| 147 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 149 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
| 148 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 150 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
| 149 attribute EventHandler onwebkitfullscreenchange; | 151 attribute EventHandler onwebkitfullscreenchange; |
| 150 attribute EventHandler onwebkitfullscreenerror; | 152 attribute EventHandler onwebkitfullscreenerror; |
| 151 [ActivityLogging=SetterForAllWorlds] attribute EventHandler onwheel; | 153 [ActivityLogging=SetterForAllWorlds] attribute EventHandler onwheel; |
| 152 }; | 154 }; |
| 153 | 155 |
| 154 Element implements ParentNode; | 156 Element implements ParentNode; |
| 155 Element implements ChildNode; | 157 Element implements ChildNode; |
| OLD | NEW |