diff options
Diffstat (limited to 'test/dom1-interfaces.xml')
-rw-r--r-- | test/dom1-interfaces.xml | 119 |
1 files changed, 101 insertions, 18 deletions
diff --git a/test/dom1-interfaces.xml b/test/dom1-interfaces.xml index 0c2488e..a0d11c7 100644 --- a/test/dom1-interfaces.xml +++ b/test/dom1-interfaces.xml @@ -160,6 +160,25 @@ See W3C License http://www.w3.org/Consortium/Legal/ for more details. </exception> </raises> </method> +<method name="getElementById" id="ID-36113835"> +<descr> +<p>Returns the Element whose<code>id</code>is given by elementId. If no such element exists, returns<code>null</code>. Behavior is not defined if more than one element has this<code>id</code>.</p> +</descr> +<parameters> +<param id="ID-9998411" name="elementId" type="DOMString" attr="in"> +<descr> +<p>The unique<code>id</code>value for an element.</p> +</descr> +</param> +</parameters> +<returns type="Element"> +<descr> +<p>The matching element.</p> +</descr> +</returns> +<raises/> +</method> + <method name="createDocumentFragment" id="ID-35CB04B5"> <descr> <p>Creates an empty<code>DocumentFragment</code>object.</p> @@ -701,7 +720,31 @@ See W3C License http://www.w3.org/Consortium/Legal/ for more details. </returns> <raises/> </method> +<method name="isSupported" id="notknown"> +<descr> +<p/> +</descr> +<parameters> +<param name="feature" type="DOMString" attr="in"> +<descr> +<p/> +</descr> +</param> +<param name="version" type="DOMString" attr="in"> +<descr> +<p/> +</descr> +</param> +</parameters> +<returns type="bool"> +<descr> +<p/> +</descr> +</returns> +<raises/> +</method> </interface> + <interface name="NodeList" id="ID-536297177"> <descr> <p>The<code>NodeList</code>interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented.</p> @@ -1564,24 +1607,6 @@ See W3C License http://www.w3.org/Consortium/Legal/ for more details. </returns> <raises/> </method> -<method name="getElementById" id="ID-36113835"> -<descr> -<p>Returns the Element whose<code>id</code>is given by elementId. If no such element exists, returns<code>null</code>. Behavior is not defined if more than one element has this<code>id</code>.</p> -</descr> -<parameters> -<param id="ID-9998411" name="elementId" type="DOMString" attr="in"> -<descr> -<p>The unique<code>id</code>value for an element.</p> -</descr> -</param> -</parameters> -<returns type="Element"> -<descr> -<p>The matching element.</p> -</descr> -</returns> -<raises/> -</method> <method name="getElementsByName" id="ID-71555259"> <descr> <p>Returns the (possibly empty) collection of elements whose<code>name</code>value is given by<code>elementName</code>.</p> @@ -3606,6 +3631,11 @@ See W3C License http://www.w3.org/Consortium/Legal/ for more details. <p>A URI designating the initial frame contents. See the<loc href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-src-FRAME" form="simple" show="embed" actuate="auto">src attribute definition</loc>in HTML 4.0.</p> </descr> </attribute> +<attribute readonly="yes" type="Document" name="contentDocument" id="contentDoc"> +<descr> +<p/> +</descr> +</attribute> </interface> <interface name="HTMLIFrameElement" inherits="HTMLElement" id="ID-50708718"> <descr> @@ -3661,5 +3691,58 @@ See W3C License http://www.w3.org/Consortium/Legal/ for more details. <p>Frame width. See the<loc href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-width-IFRAME" form="simple" show="embed" actuate="auto">width attribute definition</loc>in HTML 4.0.</p> </descr> </attribute> +<attribute readonly="yes" type="Document" name="contentDocument" id="contentDoc"> +<descr> +<p/> +</descr> +</attribute> + +</interface> +<interface name="HTMLOptionsCollection" id="ID-75708506"> +<descr> +<p>An<code>HTMLOptionsCollection</code>is a list of nodes. An individual node may be accessed by either ordinal index or the node's<code>name</code>or<code>id</code>attributes.<emph>Note:</emph>Collections in the HTML DOM are assumed to be<emph>live</emph>meaning that they are automatically updated when the underlying document is changed.</p> +</descr> +<attribute readonly="yes" type="unsigned long" name="length" id="ID-40057551"> +<descr> +<p>This attribute specifies the length or<emph>size</emph>of the list.</p> +</descr> +</attribute> +<method name="item" id="ID-33262535"> +<descr> +<p>This method retrieves a node specified by ordinal index. Nodes are numbered in tree order (depth-first traversal order).</p> +</descr> +<parameters> +<param id="ID-3496656" name="index" type="unsigned long" attr="in"> +<descr> +<p>The index of the node to be fetched. The index origin is 0.</p> +</descr> +</param> +</parameters> +<returns type="Node"> +<descr> +<p>The<code>Node</code>at the corresponding position upon success. A value of<code>null</code>is returned if the index is out of range.</p> +</descr> +</returns> +<raises/> +</method> +<method name="namedItem" id="ID-21069976"> +<descr> +<p>This method retrieves a<code>Node</code>using a name. It first searches for a<code>Node</code>with a matching<code>id</code>attribute. If it doesn't find one, it then searches for a<code>Node</code>with a matching<code>name</code>attribute, but only on those elements that are allowed a name attribute.</p> +</descr> +<parameters> +<param id="ID-76682631" name="name" type="DOMString" attr="in"> +<descr> +<p>The name of the<code>Node</code>to be fetched.</p> +</descr> +</param> +</parameters> +<returns type="Node"> +<descr> +<p>The<code>Node</code>with a<code>name</code>or<code>id</code>attribute whose value corresponds to the specified string. Upon failure (e.g., no node with this name exists), returns<code>null</code>.</p> +</descr> +</returns> +<raises/> +</method> </interface> + </library> |