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

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

Issue 756053004: Make Document.getElementsByName() argument non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 | « LayoutTests/fast/dom/Document/missing-arguments-expected.txt ('k') | no next file » | 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, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 readonly attribute HTMLCollection images; 118 readonly attribute HTMLCollection images;
119 readonly attribute HTMLCollection applets; 119 readonly attribute HTMLCollection applets;
120 readonly attribute HTMLCollection embeds; 120 readonly attribute HTMLCollection embeds;
121 [ImplementedAs=embeds] readonly attribute HTMLCollection plugins; 121 [ImplementedAs=embeds] readonly attribute HTMLCollection plugins;
122 readonly attribute HTMLCollection links; 122 readonly attribute HTMLCollection links;
123 readonly attribute HTMLCollection forms; 123 readonly attribute HTMLCollection forms;
124 readonly attribute HTMLCollection scripts; 124 readonly attribute HTMLCollection scripts;
125 readonly attribute HTMLCollection anchors; 125 readonly attribute HTMLCollection anchors;
126 readonly attribute DOMString lastModified; 126 readonly attribute DOMString lastModified;
127 127
128 [PerWorldBindings] NodeList getElementsByName([Default=Undefined] optional D OMString elementName); 128 [PerWorldBindings] NodeList getElementsByName(DOMString elementName);
129 129
130 [PutForwards=href] readonly attribute Location location; 130 [PutForwards=href] readonly attribute Location location;
131 131
132 // IE extensions 132 // IE extensions
133 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs =NullString] attribute DOMString charset; 133 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs =NullString] attribute DOMString charset;
134 [MeasureAs=DocumentDefaultCharset, TreatReturnedNullStringAs=Undefined] read only attribute DOMString defaultCharset; 134 [MeasureAs=DocumentDefaultCharset, TreatReturnedNullStringAs=Undefined] read only attribute DOMString defaultCharset;
135 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat e; 135 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat e;
136 136
137 Element elementFromPoint([Default=Undefined] optional long x, 137 Element elementFromPoint([Default=Undefined] optional long x,
138 [Default=Undefined] optional long y); 138 [Default=Undefined] optional long y);
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 // TODO(davidben): This is a property so attaching a deprecation warning res ults in false positives when outputting 206 // TODO(davidben): This is a property so attaching a deprecation warning res ults in false positives when outputting
207 // document in the console. It's possible http://crbug.com/43394 will resolv e this. 207 // document in the console. It's possible http://crbug.com/43394 will resolv e this.
208 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState; 208 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState;
209 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; 209 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden;
210 210
211 readonly attribute HTMLScriptElement currentScript; 211 readonly attribute HTMLScriptElement currentScript;
212 }; 212 };
213 213
214 Document implements GlobalEventHandlers; 214 Document implements GlobalEventHandlers;
215 Document implements ParentNode; 215 Document implements ParentNode;
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Document/missing-arguments-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698