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 --- .../tests/level2/html/HTMLOptionsCollection04.xml | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 test/testcases/tests/level2/html/HTMLOptionsCollection04.xml (limited to 'test/testcases/tests/level2/html/HTMLOptionsCollection04.xml') diff --git a/test/testcases/tests/level2/html/HTMLOptionsCollection04.xml b/test/testcases/tests/level2/html/HTMLOptionsCollection04.xml new file mode 100644 index 0000000..83e59d3 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLOptionsCollection04.xml @@ -0,0 +1,54 @@ + + + + + + +HTMLOptionsCollection04 +NIST + + An HTMLOptionsCollection is a list of nodes representing HTML option + element. + An individual node may be accessed by either ordinal index, the node's + name or id attributes. (Test node name). + The namedItem method retrieves a Node using a name. It first searches + for a node with a matching id attribute. If it doesn't find one, it + then searches for a Node with a matching name attribute, but only + those elements that are allowed a name attribute. + + Retrieve the first FORM element. Create a HTMLCollection of the elements. + Search for an element that has selectId as the value for the id attribute. + Get the nodeName of that element. + +Rick Rivello +2002-08-01 + + + + + + + + + + + + + + + + + -- cgit v1.2.3