From 51f373cae23b6d827833dd3618819716300ec22b Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 7 Jul 2012 17:22:44 +0100 Subject: HTMLCollection: Some of the tests are now kfail, one now passes --- .../tests/level1/html/HTMLCollection12.xml | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 test/testcases/tests/level1/html/HTMLCollection12.xml (limited to 'test/testcases/tests/level1/html/HTMLCollection12.xml') diff --git a/test/testcases/tests/level1/html/HTMLCollection12.xml b/test/testcases/tests/level1/html/HTMLCollection12.xml new file mode 100644 index 0000000..d7feb3d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection12.xml @@ -0,0 +1,50 @@ + + + + + + + +HTMLCollection12 +NIST + + The namedItem(name) 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 + on those elements that are allowed a name attribute. If there isn't + a matching node the method returns null. + + Retrieve the first FORM element and create a HTMLCollection by invoking + the elements attribute. The method returns null since there is not a + match of the name or id attribute. + +Rick Rivello +2002-05-01 + + + + + + + + + + + + + + + -- cgit v1.2.3