| Index: Source/core/html/HTMLAllCollection.idl
|
| diff --git a/Source/core/html/HTMLAllCollection.idl b/Source/core/html/HTMLAllCollection.idl
|
| index d8664f691cdb421b8d42a1d1409149ddc5561b59..40c7fc47efdcbcc9ceb146139ab53eaac2af7ef9 100644
|
| --- a/Source/core/html/HTMLAllCollection.idl
|
| +++ b/Source/core/html/HTMLAllCollection.idl
|
| @@ -24,6 +24,8 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| +// https://html.spec.whatwg.org/#the-htmlallcollection-interface
|
| +
|
| // FIXME: This interface should inherit HTMLCollection.
|
| [
|
| Custom=LegacyCallAsFunction,
|
| @@ -31,9 +33,14 @@
|
| SetWrapperReferenceFrom=ownerNode,
|
| WillBeGarbageCollected,
|
| ] interface HTMLAllCollection {
|
| + // FIXME: length and 'getter' should be inherited from HTMLCollection.
|
| readonly attribute unsigned long length;
|
| [ImplementedAs=item] getter Element (unsigned long index);
|
| - [Custom] Element item([Default=Undefined] optional unsigned long index);
|
| - // FIXME: This should return an (HTMLCollection or Element)? union.
|
| + // FIXME: The custom item() implementation may return a NodeList, but the
|
| + // spec has a (HTMLCollection or Element)? item(DOMString name) method.
|
| + [Custom] Element? item([Default=Undefined] optional unsigned long index);
|
| + // FIXME:
|
| + // FIXME: namedItem() should be a legacycaller. crbug.com/465009
|
| + // FIXME: namedItem() should return an (HTMLCollection or Element)? union.
|
| [ImplementedAs=namedGetter] getter (NodeList or Element)? namedItem(DOMString name);
|
| };
|
|
|