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

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

Issue 292743003: Revert 174142 "Move popular DOM attributes to prototype chains" (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 7 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, DeprecateAs=ElementSetAttributeNod eNS] Attr setAttributeNodeNS([Default=Undefined, TypeChecking=Nullable] optional Attr newAttr); // Removed from DOM4. 48 [RaisesException, CustomElementCallbacks, DeprecateAs=ElementSetAttributeNod eNS] Attr setAttributeNodeNS([Default=Undefined, TypeChecking=Nullable] optional Attr newAttr); // Removed from DOM4.
49 boolean hasAttribute(DOMString name); 49 boolean hasAttribute(DOMString name);
50 boolean hasAttributeNS([TreatNullAs=NullString] DOMString namespaceURI, DOMS tring localName); 50 boolean hasAttributeNS([TreatNullAs=NullString] DOMString namespaceURI, DOMS tring localName);
51 51
52 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; 52 [PerWorldBindings] readonly attribute CSSStyleDeclaration style;
53 53
54 // DOM4 54 // DOM4
55 [Reflect, ExposeJSAccessors] attribute DOMString id; 55 [Reflect] attribute DOMString id;
56 [TreatReturnedNullStringAs=Null] readonly attribute DOMString namespaceURI; 56 [TreatReturnedNullStringAs=Null] readonly attribute DOMString namespaceURI;
57 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, RaisesException=Set ter] attribute DOMString prefix; 57 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, RaisesException=Set ter] attribute DOMString prefix;
58 [TreatReturnedNullStringAs=Null] readonly attribute DOMString localName; 58 [TreatReturnedNullStringAs=Null] readonly attribute DOMString localName;
59 59
60 [RaisesException] boolean matches(DOMString selectors); 60 [RaisesException] boolean matches(DOMString selectors);
61 61
62 // Common extensions 62 // Common extensions
63 63
64 readonly attribute double offsetLeft; 64 readonly attribute double offsetLeft;
65 readonly attribute double offsetTop; 65 readonly attribute double offsetTop;
(...skipping 19 matching lines...) Expand all
85 void scrollIntoView(optional boolean alignWithTop); 85 void scrollIntoView(optional boolean alignWithTop);
86 86
87 // WebKit extensions 87 // WebKit extensions
88 88
89 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option al boolean centerIfNeeded); 89 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option al boolean centerIfNeeded);
90 [MeasureAs=ElementScrollByLines] void scrollByLines([Default=Undefined] opti onal long lines); 90 [MeasureAs=ElementScrollByLines] void scrollByLines([Default=Undefined] opti onal long lines);
91 [MeasureAs=ElementScrollByPages] void scrollByPages([Default=Undefined] opti onal 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, ExposeJSAccessors] attribute DOMString in nerHTML; 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
102 [Reflect=class] attribute DOMString className; 102 [Reflect=class] attribute DOMString className;
103 [PerWorldBindings] readonly attribute DOMTokenList classList; 103 [PerWorldBindings] readonly attribute DOMTokenList classList;
104 104
105 [PerWorldBindings] readonly attribute DOMStringMap dataset; 105 [PerWorldBindings] readonly attribute DOMStringMap dataset;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 139 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
140 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 140 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
141 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 141 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
142 attribute EventHandler onwebkitfullscreenchange; 142 attribute EventHandler onwebkitfullscreenchange;
143 attribute EventHandler onwebkitfullscreenerror; 143 attribute EventHandler onwebkitfullscreenerror;
144 [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel; 144 [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel;
145 }; 145 };
146 146
147 Element implements ParentNode; 147 Element implements ParentNode;
148 Element implements ChildNode; 148 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