From b38d185fddf093f5f56dd1c30f90385df62a2fb1 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 7 Jul 2012 17:11:34 +0100 Subject: DOMTSHandler: Enable support for HTMLCollection and enable another form test --- test/DOMTSHandler.pm | 4 ++ .../tests/level1/html/HTMLFormElement01.xml | 45 ++++++++++++++++++++++ .../tests/level1/html/HTMLFormElement01.xml.kfail | 45 ---------------------- 3 files changed, 49 insertions(+), 45 deletions(-) create mode 100644 test/testcases/tests/level1/html/HTMLFormElement01.xml delete mode 100644 test/testcases/tests/level1/html/HTMLFormElement01.xml.kfail (limited to 'test') diff --git a/test/DOMTSHandler.pm b/test/DOMTSHandler.pm index 37f6166..6545332 100644 --- a/test/DOMTSHandler.pm +++ b/test/DOMTSHandler.pm @@ -38,6 +38,7 @@ our %special_type = ( DOMImplementation => "dom_implementation *", NamedNodeMap => "dom_namednodemap *", NodeList => "dom_nodelist *", + HTMLCollection => "dom_html_collection *", CharacterData => "dom_characterdata *", CDATASection => "dom_cdata_section *", ); @@ -46,6 +47,7 @@ our %special_prefix = ( DOMImplementation => "dom_implementation", NamedNodeMap => "dom_namednodemap", NodeList => "dom_nodelist", + HTMLCollection => "dom_html_collection", CharacterData => "dom_characterdata", CDATASection => "dom_cdata_section *", ); @@ -54,6 +56,7 @@ our %unref_prefix = ( DOMString => "dom_string", NamedNodeMap => "dom_namednodemap", NodeList => "dom_nodelist", + HTMLCollection => "dom_html_collection", ); our %special_method = ( @@ -79,6 +82,7 @@ our %override_suffix = ( DOMImplementation => "domimplementation", NamedNodeMap => "domnamednodemap", NodeList => "domnodelist", + HTMLCollection => "domhtmlcollection", Collection => "list", List => "list", ); diff --git a/test/testcases/tests/level1/html/HTMLFormElement01.xml b/test/testcases/tests/level1/html/HTMLFormElement01.xml new file mode 100644 index 0000000..057fac5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFormElement01.xml @@ -0,0 +1,45 @@ + + + + + + + +HTMLFormElement01 +NIST + + The elements attribute specifies a collection of all control element + in the form. + + Retrieve the elements attribute and examine its value. + +Mary Brady +2002-02-22 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLFormElement01.xml.kfail b/test/testcases/tests/level1/html/HTMLFormElement01.xml.kfail deleted file mode 100644 index 057fac5..0000000 --- a/test/testcases/tests/level1/html/HTMLFormElement01.xml.kfail +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - -HTMLFormElement01 -NIST - - The elements attribute specifies a collection of all control element - in the form. - - Retrieve the elements attribute and examine its value. - -Mary Brady -2002-02-22 - - - - - - - - - - - - - - - -- cgit v1.2.3