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

Side by Side Diff: Source/core/html/HTMLElement.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 | « Source/core/dom/Element.idl ('k') | Source/core/svg/SVGElement.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,
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 [ 21 [
22 CustomToV8 22 CustomToV8
23 ] interface HTMLElement : Element { 23 ] interface HTMLElement : Element {
24 // iht.com relies on id returning the empty string when no id is pr esent.
25 // Other browsers do this as well. So we don't convert null to JS n ull.
26 [Reflect] attribute DOMString id;
27 [Reflect] attribute DOMString title; 24 [Reflect] attribute DOMString title;
28 [Reflect] attribute DOMString lang; 25 [Reflect] attribute DOMString lang;
29 attribute boolean translate; 26 attribute boolean translate;
30 [Reflect] attribute DOMString dir; 27 [Reflect] attribute DOMString dir;
31 28
32 attribute long tabIndex; 29 attribute long tabIndex;
33 attribute boolean draggable; 30 attribute boolean draggable;
34 [Reflect] attribute DOMString webkitdropzone; 31 [Reflect] attribute DOMString webkitdropzone;
35 [Reflect] attribute boolean hidden; 32 [Reflect] attribute boolean hidden;
36 [Reflect] attribute DOMString accessKey; 33 [Reflect] attribute DOMString accessKey;
(...skipping 14 matching lines...) Expand all
51 [EnabledAtRuntime=imeAPI] InputMethodContext getInputContext(); 48 [EnabledAtRuntime=imeAPI] InputMethodContext getInputContext();
52 49
53 [TreatNullAs=NullString, SetterRaisesException] attribute DOMString contentEditable; 50 [TreatNullAs=NullString, SetterRaisesException] attribute DOMString contentEditable;
54 readonly attribute boolean isContentEditable; 51 readonly attribute boolean isContentEditable;
55 52
56 attribute boolean spellcheck; 53 attribute boolean spellcheck;
57 54
58 void click(); 55 void click();
59 }; 56 };
60 57
OLDNEW
« no previous file with comments | « Source/core/dom/Element.idl ('k') | Source/core/svg/SVGElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698