Chromium Code Reviews| 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 27 matching lines...) Expand all Loading... | |
| 38 [MeasureAs=HasAttributes] boolean hasAttributes(); | 38 [MeasureAs=HasAttributes] boolean hasAttributes(); |
| 39 | 39 |
| 40 // DOM Level 2 Core | 40 // DOM Level 2 Core |
| 41 | 41 |
| 42 DOMString getAttributeNS([TreatNullAs=NullString] DOMString namespaceURI, DO MString localName); | 42 DOMString getAttributeNS([TreatNullAs=NullString] DOMString namespaceURI, DO MString localName); |
| 43 [RaisesException, CustomElementCallbacks] void setAttributeNS([TreatNullAs=N ullString] DOMString namespaceURI, DOMString qualifiedName, DOMString value); | 43 [RaisesException, CustomElementCallbacks] void setAttributeNS([TreatNullAs=N ullString] DOMString namespaceURI, DOMString qualifiedName, DOMString value); |
| 44 [CustomElementCallbacks] void removeAttributeNS([TreatNullAs=NullString] DOM String namespaceURI, DOMString localName); | 44 [CustomElementCallbacks] void removeAttributeNS([TreatNullAs=NullString] DOM String namespaceURI, DOMString localName); |
| 45 HTMLCollection getElementsByTagNameNS([TreatNullAs=NullString] DOMString nam espaceURI, DOMString localName); | 45 HTMLCollection getElementsByTagNameNS([TreatNullAs=NullString] DOMString nam espaceURI, DOMString localName); |
| 46 [MeasureAs=ElementGetAttributeNodeNS] Attr getAttributeNodeNS([TreatNullAs=N ullString,Default=Undefined] optional DOMString namespaceURI, | 46 [MeasureAs=ElementGetAttributeNodeNS] Attr getAttributeNodeNS([TreatNullAs=N ullString,Default=Undefined] optional DOMString namespaceURI, |
| 47 [Default=Undef ined] optional DOMString localName); // Removed from DOM4. | 47 [Default=Undef ined] optional DOMString localName); // Removed from DOM4. |
| 48 [RaisesException, CustomElementCallbacks, MeasureAs=ElementSetAttributeNodeN S] Attr setAttributeNodeNS([Default=Undefined, StrictTypeChecking] optional Attr newAttr); // Removed from DOM4. | |
|
ojan
2014/02/06 19:31:28
Can you also update the UseCounter enum (i.e. pref
| |
| 49 boolean hasAttribute(DOMString name); | 48 boolean hasAttribute(DOMString name); |
| 50 boolean hasAttributeNS([TreatNullAs=NullString] DOMString namespaceURI, DOMS tring localName); | 49 boolean hasAttributeNS([TreatNullAs=NullString] DOMString namespaceURI, DOMS tring localName); |
| 51 | 50 |
| 52 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; | 51 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; |
| 53 | 52 |
| 54 // DOM4 | 53 // DOM4 |
| 55 [Reflect] attribute DOMString id; | 54 [Reflect] attribute DOMString id; |
| 56 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing namespaceURI; | 55 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing namespaceURI; |
| 57 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, R aisesException=Setter] attribute DOMString prefix; | 56 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, R aisesException=Setter] attribute DOMString prefix; |
| 58 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing localName; | 57 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing localName; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 147 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 146 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
| 148 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 147 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
| 149 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 148 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
| 150 attribute EventHandler onwebkitfullscreenchange; | 149 attribute EventHandler onwebkitfullscreenchange; |
| 151 attribute EventHandler onwebkitfullscreenerror; | 150 attribute EventHandler onwebkitfullscreenerror; |
| 152 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH andler onwheel; | 151 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH andler onwheel; |
| 153 }; | 152 }; |
| 154 | 153 |
| 155 Element implements ParentNode; | 154 Element implements ParentNode; |
| 156 Element implements ChildNode; | 155 Element implements ChildNode; |
| OLD | NEW |