From 09cc381be6ed4e722e28dbf494458a9b6e6f809d Mon Sep 17 00:00:00 2001 From: Rupinder Singh Khokhar Date: Mon, 9 Jun 2014 22:20:49 +0530 Subject: [HTMLCollection && DOMTSHandler && dtd interface] fixes --- test/dom1-interfaces.xml | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) (limited to 'test/dom1-interfaces.xml') diff --git a/test/dom1-interfaces.xml b/test/dom1-interfaces.xml index fc88b80..240f2b9 100644 --- a/test/dom1-interfaces.xml +++ b/test/dom1-interfaces.xml @@ -3674,4 +3674,51 @@ See W3C License http://www.w3.org/Consortium/Legal/ for more details. + + +

AnHTMLOptionsCollectionis a list of nodes. An individual node may be accessed by either ordinal index or the node'snameoridattributes.Note:Collections in the HTML DOM are assumed to belivemeaning that they are automatically updated when the underlying document is changed.

+
+ + +

This attribute specifies the length orsizeof the list.

+
+
+ + +

This method retrieves a node specified by ordinal index. Nodes are numbered in tree order (depth-first traversal order).

+
+ + + +

The index of the node to be fetched. The index origin is 0.

+
+ +
+ + +

TheNodeat the corresponding position upon success. A value ofnullis returned if the index is out of range.

+
+
+ +
+ + +

This method retrieves aNodeusing a name. It first searches for aNodewith a matchingidattribute. If it doesn't find one, it then searches for aNodewith a matchingnameattribute, but only on those elements that are allowed a name attribute.

+
+ + + +

The name of theNodeto be fetched.

+
+ +
+ + +

TheNodewith anameoridattribute whose value corresponds to the specified string. Upon failure (e.g., no node with this name exists), returnsnull.

+
+
+ +
+
+ -- cgit v1.2.3