| 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, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 */ | 19 */ |
| 20 | 20 |
| 21 // See | 21 // See |
| 22 // https://docs.google.com/document/d/1VnvAqeWFG9JFZfgG5evBqrLGDZYRE5w6G5jEDORek
PY | 22 // https://docs.google.com/document/d/1VnvAqeWFG9JFZfgG5evBqrLGDZYRE5w6G5jEDORek
PY |
| 23 // for details. | 23 // for details. |
| 24 enum NativeScrollBehavior { "disable-native-scroll", "perform-before-native-scro
ll", "perform-after-native-scroll" }; | 24 enum NativeScrollBehavior { "disable-native-scroll", "perform-before-native-scro
ll", "perform-after-native-scroll" }; |
| 25 | 25 |
| 26 // https://dom.spec.whatwg.org/#interface-element | 26 // https://dom.spec.whatwg.org/#interface-element |
| 27 | 27 |
| 28 [ | 28 interface Element : Node { |
| 29 TypeChecking=Interface, | |
| 30 ] interface Element : Node { | |
| 31 readonly attribute DOMString? namespaceURI; | 29 readonly attribute DOMString? namespaceURI; |
| 32 readonly attribute DOMString? prefix; | 30 readonly attribute DOMString? prefix; |
| 33 readonly attribute DOMString localName; | 31 readonly attribute DOMString localName; |
| 34 readonly attribute DOMString tagName; | 32 readonly attribute DOMString tagName; |
| 35 | 33 |
| 36 [Reflect] attribute DOMString id; | 34 [Reflect] attribute DOMString id; |
| 37 [Reflect=class] attribute DOMString className; | 35 [Reflect=class] attribute DOMString className; |
| 38 [SameObject, PerWorldBindings] readonly attribute DOMTokenList classList; | 36 [SameObject, PerWorldBindings] readonly attribute DOMTokenList classList; |
| 39 | 37 |
| 40 [MeasureAs=HasAttributes] boolean hasAttributes(); | 38 [MeasureAs=HasAttributes] boolean hasAttributes(); |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 attribute EventHandler oncut; | 122 attribute EventHandler oncut; |
| 125 attribute EventHandler onpaste; | 123 attribute EventHandler onpaste; |
| 126 attribute EventHandler onsearch; | 124 attribute EventHandler onsearch; |
| 127 attribute EventHandler onselectstart; | 125 attribute EventHandler onselectstart; |
| 128 attribute EventHandler onwheel; | 126 attribute EventHandler onwheel; |
| 129 }; | 127 }; |
| 130 | 128 |
| 131 Element implements ParentNode; | 129 Element implements ParentNode; |
| 132 Element implements ChildNode; | 130 Element implements ChildNode; |
| 133 Element implements NonDocumentTypeChildNode; | 131 Element implements NonDocumentTypeChildNode; |
| OLD | NEW |