Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(886)

Side by Side Diff: trunk/Source/core/dom/Element.idl

Issue 187343006: Revert 168383 "Move popular DOM attributes to prototype chains" (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « trunk/Source/core/dom/Document.idl ('k') | trunk/Source/core/dom/Node.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 boolean hasAttribute(DOMString name); 48 boolean hasAttribute(DOMString name);
49 boolean hasAttributeNS([TreatNullAs=NullString] DOMString namespaceURI, DOMS tring localName); 49 boolean hasAttributeNS([TreatNullAs=NullString] DOMString namespaceURI, DOMS tring localName);
50 50
51 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; 51 [PerWorldBindings] readonly attribute CSSStyleDeclaration style;
52 52
53 // DOM4 53 // DOM4
54 [Reflect, PerWorldBindings, ExposeJSAccessors] attribute DOMString id; 54 [Reflect, PerWorldBindings] attribute DOMString id;
55 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing namespaceURI; 55 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing namespaceURI;
56 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, R aisesException=Setter] attribute DOMString prefix; 56 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, R aisesException=Setter] attribute DOMString prefix;
57 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing localName; 57 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing localName;
58 58
59 [RaisesException] boolean matches(DOMString selectors); 59 [RaisesException] boolean matches(DOMString selectors);
60 60
61 // Common extensions 61 // Common extensions
62 62
63 [PerWorldBindings] readonly attribute long offsetLeft; 63 [PerWorldBindings] readonly attribute long offsetLeft;
64 [PerWorldBindings] readonly attribute long offsetTop; 64 [PerWorldBindings] readonly attribute long offsetTop;
(...skipping 19 matching lines...) Expand all
84 void scrollIntoView(optional boolean alignWithTop); 84 void scrollIntoView(optional boolean alignWithTop);
85 85
86 // WebKit extensions 86 // WebKit extensions
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, ExposeJSAccessors] attri bute DOMString innerHTML; 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(DOMString where, Element element); 97 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E lement insertAdjacentElement(DOMString where, Element element);
98 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS tring where, DOMString text); 98 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS tring where, DOMString text);
99 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void insertAdjacentHTML(DOMString where, DOMString html); 99 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void insertAdjacentHTML(DOMString where, DOMString html);
100 100
101 [Reflect=class, PerWorldBindings] attribute DOMString className; 101 [Reflect=class, PerWorldBindings] attribute DOMString className;
102 [PerWorldBindings] readonly attribute DOMTokenList classList; 102 [PerWorldBindings] readonly attribute DOMTokenList classList;
103 103
104 [PerWorldBindings] readonly attribute DOMStringMap dataset; 104 [PerWorldBindings] readonly attribute DOMStringMap dataset;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 145 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
146 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 146 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
147 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 147 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
148 attribute EventHandler onwebkitfullscreenchange; 148 attribute EventHandler onwebkitfullscreenchange;
149 attribute EventHandler onwebkitfullscreenerror; 149 attribute EventHandler onwebkitfullscreenerror;
150 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH andler onwheel; 150 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH andler onwheel;
151 }; 151 };
152 152
153 Element implements ParentNode; 153 Element implements ParentNode;
154 Element implements ChildNode; 154 Element implements ChildNode;
OLDNEW
« no previous file with comments | « trunk/Source/core/dom/Document.idl ('k') | trunk/Source/core/dom/Node.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698