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

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

Issue 21022014: Move id attribute to parent Element interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | « no previous file | Source/core/html/HTMLElement.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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 [Default=Undefined] optional DOMString localName); 52 [Default=Undefined] optional DOMString localName);
53 Attr getAttributeNodeNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, 53 Attr getAttributeNodeNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI,
54 [Default=Undefined] optional DOMStrin g localName); 54 [Default=Undefined] optional DOMStrin g localName);
55 [RaisesException] Attr setAttributeNodeNS([Default=Undefined, StrictTypeChec king] optional Attr newAttr); 55 [RaisesException] Attr setAttributeNodeNS([Default=Undefined, StrictTypeChec king] optional Attr newAttr);
56 boolean hasAttribute(DOMString name); 56 boolean hasAttribute(DOMString name);
57 boolean hasAttributeNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, 57 boolean hasAttributeNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI,
58 [Default=Undefined] optional DOMString localName); 58 [Default=Undefined] optional DOMString localName);
59 59
60 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; 60 [PerWorldBindings] readonly attribute CSSStyleDeclaration style;
61 61
62 // DOM4
63 // iht.com relies on id returning the empty string when no id is present.
64 // Other browsers do this as well. So we don't convert null to JS null.
65 [Reflect] attribute DOMString id;
66
62 // Common extensions 67 // Common extensions
63 68
64 [PerWorldBindings] readonly attribute long offsetLeft; 69 [PerWorldBindings] readonly attribute long offsetLeft;
65 [PerWorldBindings] readonly attribute long offsetTop; 70 [PerWorldBindings] readonly attribute long offsetTop;
66 [PerWorldBindings] readonly attribute long offsetWidth; 71 [PerWorldBindings] readonly attribute long offsetWidth;
67 [PerWorldBindings] readonly attribute long offsetHeight; 72 [PerWorldBindings] readonly attribute long offsetHeight;
68 [ImplementedAs=bindingsOffsetParent, PerWorldBindings] readonly attribute El ement offsetParent; 73 [ImplementedAs=bindingsOffsetParent, PerWorldBindings] readonly attribute El ement offsetParent;
69 [PerWorldBindings] readonly attribute long clientLeft; 74 [PerWorldBindings] readonly attribute long clientLeft;
70 [PerWorldBindings] readonly attribute long clientTop; 75 [PerWorldBindings] readonly attribute long clientTop;
71 [PerWorldBindings] readonly attribute long clientWidth; 76 [PerWorldBindings] readonly attribute long clientWidth;
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis tener ontouchmove; 203 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis tener ontouchmove;
199 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis tener ontouchend; 204 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis tener ontouchend;
200 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis tener ontouchcancel; 205 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis tener ontouchcancel;
201 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen change; 206 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen change;
202 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen error; 207 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen error;
203 }; 208 };
204 209
205 Element implements ParentNode; 210 Element implements ParentNode;
206 Element implements ChildNode; 211 Element implements ChildNode;
207 212
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698