From 8f547c7bd349e0dc905e0dc5f32edbf1e01061ce Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 30 Jul 2009 11:06:01 +0000 Subject: Merge DOMTS tests -- they're causing havoc with review diffs. svn path=/trunk/dom/; revision=8910 --- .../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