From adea85fad0882b49e70087c03c173fae6bf8d121 Mon Sep 17 00:00:00 2001 From: rsk1994 Date: Sat, 17 May 2014 03:48:13 +0530 Subject: Applet Element --- Makefile | 1 + include/dom/dom.h | 1 + include/dom/html/html_applet_element.h | 78 +++++++++ src/html/Makefile | 4 +- src/html/html_applet_element.c | 191 +++++++++++++++++++++ src/html/html_applet_element.h | 45 +++++ src/html/html_document.c | 4 + src/html/html_document_strings.h | 1 + .../tests/level1/html/HTMLAppletElement01.xml | 43 +++++ .../level1/html/HTMLAppletElement01.xml.notimpl | 43 ----- .../tests/level1/html/HTMLAppletElement02.xml | 43 +++++ .../level1/html/HTMLAppletElement02.xml.notimpl | 43 ----- .../tests/level1/html/HTMLAppletElement03.xml | 42 +++++ .../level1/html/HTMLAppletElement03.xml.notimpl | 42 ----- .../tests/level1/html/HTMLAppletElement04.xml | 42 +++++ .../level1/html/HTMLAppletElement04.xml.notimpl | 42 ----- .../tests/level1/html/HTMLAppletElement05.xml | 42 +++++ .../level1/html/HTMLAppletElement05.xml.notimpl | 42 ----- .../tests/level1/html/HTMLAppletElement06.xml | 42 +++++ .../level1/html/HTMLAppletElement06.xml.notimpl | 42 ----- .../level1/html/HTMLAppletElement07.xml.kfail | 51 ++++++ .../level1/html/HTMLAppletElement07.xml.notimpl | 51 ------ .../tests/level1/html/HTMLAppletElement08.xml | 42 +++++ .../level1/html/HTMLAppletElement08.xml.notimpl | 42 ----- .../level1/html/HTMLAppletElement09.xml.kfail | 51 ++++++ .../level1/html/HTMLAppletElement09.xml.notimpl | 51 ------ .../tests/level1/html/HTMLAppletElement10.xml | 42 +++++ .../level1/html/HTMLAppletElement10.xml.notimpl | 42 ----- .../tests/level1/html/HTMLAppletElement11.xml | 43 +++++ .../level1/html/HTMLAppletElement11.xml.notimpl | 43 ----- .../tests/level2/html/HTMLAppletElement07.xml | 42 +++++ .../level2/html/HTMLAppletElement07.xml.kfail | 42 ----- .../tests/level2/html/HTMLAppletElement09.xml | 42 +++++ .../level2/html/HTMLAppletElement09.xml.kfail | 42 ----- test/testcases/tests/level2/html/files/applet.html | 12 ++ .../testcases/tests/level2/html/files/applet.xhtml | 15 ++ test/testcases/tests/level2/html/files/applet.xml | 15 ++ .../testcases/tests/level2/html/files/applet2.html | 12 ++ .../tests/level2/html/files/applet2.xhtml | 15 ++ test/testcases/tests/level2/html/files/applet2.xml | 15 ++ 40 files changed, 974 insertions(+), 569 deletions(-) create mode 100644 test/testcases/tests/level1/html/HTMLAppletElement01.xml delete mode 100644 test/testcases/tests/level1/html/HTMLAppletElement01.xml.notimpl create mode 100644 test/testcases/tests/level1/html/HTMLAppletElement02.xml delete mode 100644 test/testcases/tests/level1/html/HTMLAppletElement02.xml.notimpl create mode 100644 test/testcases/tests/level1/html/HTMLAppletElement03.xml delete mode 100644 test/testcases/tests/level1/html/HTMLAppletElement03.xml.notimpl create mode 100644 test/testcases/tests/level1/html/HTMLAppletElement04.xml delete mode 100644 test/testcases/tests/level1/html/HTMLAppletElement04.xml.notimpl create mode 100644 test/testcases/tests/level1/html/HTMLAppletElement05.xml delete mode 100644 test/testcases/tests/level1/html/HTMLAppletElement05.xml.notimpl create mode 100644 test/testcases/tests/level1/html/HTMLAppletElement06.xml delete mode 100644 test/testcases/tests/level1/html/HTMLAppletElement06.xml.notimpl create mode 100644 test/testcases/tests/level1/html/HTMLAppletElement07.xml.kfail delete mode 100644 test/testcases/tests/level1/html/HTMLAppletElement07.xml.notimpl create mode 100644 test/testcases/tests/level1/html/HTMLAppletElement08.xml delete mode 100644 test/testcases/tests/level1/html/HTMLAppletElement08.xml.notimpl create mode 100644 test/testcases/tests/level1/html/HTMLAppletElement09.xml.kfail delete mode 100644 test/testcases/tests/level1/html/HTMLAppletElement09.xml.notimpl create mode 100644 test/testcases/tests/level1/html/HTMLAppletElement10.xml delete mode 100644 test/testcases/tests/level1/html/HTMLAppletElement10.xml.notimpl create mode 100644 test/testcases/tests/level1/html/HTMLAppletElement11.xml delete mode 100644 test/testcases/tests/level1/html/HTMLAppletElement11.xml.notimpl create mode 100644 test/testcases/tests/level2/html/HTMLAppletElement07.xml delete mode 100644 test/testcases/tests/level2/html/HTMLAppletElement07.xml.kfail create mode 100644 test/testcases/tests/level2/html/HTMLAppletElement09.xml delete mode 100644 test/testcases/tests/level2/html/HTMLAppletElement09.xml.kfail create mode 100644 test/testcases/tests/level2/html/files/applet.html create mode 100644 test/testcases/tests/level2/html/files/applet.xhtml create mode 100644 test/testcases/tests/level2/html/files/applet.xml create mode 100644 test/testcases/tests/level2/html/files/applet2.html create mode 100644 test/testcases/tests/level2/html/files/applet2.xhtml create mode 100644 test/testcases/tests/level2/html/files/applet2.xml diff --git a/Makefile b/Makefile index 93d4e61..d3c73cc 100644 --- a/Makefile +++ b/Makefile @@ -119,6 +119,7 @@ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/html_basefont_element.h INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/html_image_element.h INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/html_object_element.h INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/html_param_element.h +INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/html_applet_element.h INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT) diff --git a/include/dom/dom.h b/include/dom/dom.h index d8edf7e..2a2e1cc 100644 --- a/include/dom/dom.h +++ b/include/dom/dom.h @@ -78,6 +78,7 @@ #include #include #include +#include /* DOM Events header */ #include diff --git a/include/dom/html/html_applet_element.h b/include/dom/html/html_applet_element.h index 2e182d5..29e5c62 100644 --- a/include/dom/html/html_applet_element.h +++ b/include/dom/html/html_applet_element.h @@ -3,5 +3,83 @@ * Licensed under the MIT License, * http://www.opensource.org/licenses/mit-license.php * Copyright 2009 Bo Yang + * Copyright 2014 Rupinder Singh Khokhar */ +#ifndef dom_html_applet_element_h_ +#define dom_html_applet_element_h_ + +#include +#include +#include + +typedef struct dom_html_applet_element dom_html_applet_element; + +dom_exception dom_html_applet_element_get_align( + dom_html_applet_element *applet, dom_string **align); + +dom_exception dom_html_applet_element_set_align( + dom_html_applet_element *applet, dom_string *align); + +dom_exception dom_html_applet_element_get_alt( + dom_html_applet_element *applet, dom_string **alt); + +dom_exception dom_html_applet_element_set_alt( + dom_html_applet_element *applet, dom_string *alt); + +dom_exception dom_html_applet_element_get_archive( + dom_html_applet_element *applet, dom_string **archive); + +dom_exception dom_html_applet_element_set_archive( + dom_html_applet_element *applet, dom_string *archive); + +dom_exception dom_html_applet_element_get_code( + dom_html_applet_element *applet, dom_string **code); + +dom_exception dom_html_applet_element_set_code( + dom_html_applet_element *applet, dom_string *code); + +dom_exception dom_html_applet_element_get_code_base( + dom_html_applet_element *applet, dom_string **code_base); + +dom_exception dom_html_applet_element_set_code_base( + dom_html_applet_element *applet, dom_string *code_base); + +dom_exception dom_html_applet_element_get_height( + dom_html_applet_element *applet, dom_string **height); + +dom_exception dom_html_applet_element_set_height( + dom_html_applet_element *applet, dom_string *height); + +dom_exception dom_html_applet_element_get_name( + dom_html_applet_element *applet, dom_string **name); + +dom_exception dom_html_applet_element_set_name( + dom_html_applet_element *applet, dom_string *name); + +dom_exception dom_html_applet_element_get_object( + dom_html_applet_element *applet, dom_string **object); + +dom_exception dom_html_applet_element_set_object( + dom_html_applet_element *applet, dom_string *object); + +dom_exception dom_html_applet_element_get_width( + dom_html_applet_element *applet, dom_string **width); + +dom_exception dom_html_applet_element_set_width( + dom_html_applet_element *applet, dom_string *width); + + +dom_exception dom_html_applet_element_get_hspace( + dom_html_applet_element *applet, int32_t *hspace); + +dom_exception dom_html_applet_element_set_hspace( + dom_html_applet_element *applet, uint32_t hspace); + +dom_exception dom_html_applet_element_get_vspace( + dom_html_applet_element *applet, int32_t *vspace); + +dom_exception dom_html_applet_element_set_vspace( + dom_html_applet_element *applet, uint32_t vspace); +#endif + diff --git a/src/html/Makefile b/src/html/Makefile index bd9f935..0d8bcae 100644 --- a/src/html/Makefile +++ b/src/html/Makefile @@ -14,10 +14,10 @@ DIR_SOURCES := \ html_ulist_element.c html_olist_element.c html_li_element.c \ html_font_element.c html_mod_element.c html_anchor_element.c \ html_basefont_element.c html_image_element.c html_object_element.c \ - html_param_element.c + html_param_element.c html_applet_element.c UNINMPLEMENTED_SOURCES := \ - html_applet_element.c html_map_element.c \ + html_map_element.c \ html_area_element.c html_script_element.c html_table_element.c \ html_tablecaption_element.c html_tablecol_element.c html_tablesection_element.c \ html_tablerow_element.c html_tablecell_element.c html_frameset_element.c \ diff --git a/src/html/html_applet_element.c b/src/html/html_applet_element.c index 2e182d5..9f6c16f 100644 --- a/src/html/html_applet_element.c +++ b/src/html/html_applet_element.c @@ -3,5 +3,196 @@ * Licensed under the MIT License, * http://www.opensource.org/licenses/mit-license.php * Copyright 2009 Bo Yang + * Copyright 2014 Rupinder Singh Khokhar */ +#include +#include + +#include + +#include "html/html_document.h" +#include "html/html_applet_element.h" + +#include "core/node.h" +#include "core/attr.h" +#include "utils/utils.h" + +static struct dom_element_protected_vtable _protect_vtable = { + { + DOM_NODE_PROTECT_VTABLE_HTML_APPLET_ELEMENT + }, + DOM_HTML_APPLET_ELEMENT_PROTECT_VTABLE +}; + +/** + * Create a dom_html_applet_element applet + * + * \param doc The document applet + * \param ele The returned element applet + * \return DOM_NO_ERR on success, appropriate dom_exception on failure. + */ +dom_exception _dom_html_applet_element_create(struct dom_html_document *doc, + dom_string *namespace, dom_string *prefix, + struct dom_html_applet_element **ele) +{ + struct dom_node_internal *node; + + *ele = malloc(sizeof(dom_html_applet_element)); + if (*ele == NULL) + return DOM_NO_MEM_ERR; + + /* Set up vtables */ + node = (struct dom_node_internal *) *ele; + node->base.vtable = &_dom_html_element_vtable; + node->vtable = &_protect_vtable; + + return _dom_html_applet_element_initialise(doc, namespace, prefix, *ele); +} + +/** + * Initialise a dom_html_applet_element applet + * + * \param doc The document applet + * \param ele The dom_html_applet_element applet + * \return DOM_NO_ERR on success, appropriate dom_exception on failure. + */ +dom_exception _dom_html_applet_element_initialise(struct dom_html_document *doc, + dom_string *namespace, dom_string *prefix, + struct dom_html_applet_element *ele) +{ + return _dom_html_element_initialise(doc, &ele->base, + doc->memoised[hds_APPLET], + namespace, prefix); +} + +/** + * Finalise a dom_html_applet_element applet + * + * \param ele The dom_html_applet_element applet + */ +void _dom_html_applet_element_finalise(struct dom_html_applet_element *ele) +{ + _dom_html_element_finalise(&ele->base); +} + +/** + * Destroy a dom_html_applet_element applet + * + * \param ele The dom_html_applet_element applet + */ +void _dom_html_applet_element_destroy(struct dom_html_applet_element *ele) +{ + _dom_html_applet_element_finalise(ele); + free(ele); +} + +/*------------------------------------------------------------------------*/ +/* The protected virtual functions */ + +/* The virtual function used to parse attribute value, see src/core/element.c + * for detail */ +dom_exception _dom_html_applet_element_parse_attribute(dom_element *ele, + dom_string *name, dom_string *value, + dom_string **parsed) +{ + UNUSED(ele); + UNUSED(name); + + dom_string_ref(value); + *parsed = value; + + return DOM_NO_ERR; +} + +/* The virtual destroy function, see src/core/node.c for detail */ +void _dom_virtual_html_applet_element_destroy(dom_node_internal *node) +{ + _dom_html_applet_element_destroy((struct dom_html_applet_element *) node); +} + +/* The virtual copy function, see src/core/node.c for detail */ +dom_exception _dom_html_applet_element_copy(dom_node_internal *old, + dom_node_internal **copy) +{ + return _dom_html_element_copy(old, copy); +} + +/*-----------------------------------------------------------------------*/ +/* API functions */ + +#define SIMPLE_GET(attr) \ + dom_exception dom_html_applet_element_get_##attr( \ + dom_html_applet_element *element, \ + dom_string **attr) \ +{ \ + dom_exception ret; \ + dom_string *_memo_##attr; \ + \ + _memo_##attr = \ + ((struct dom_html_document *) \ + ((struct dom_node_internal *)element)->owner)->\ + memoised[hds_##attr]; \ + \ + ret = dom_element_get_attribute(element, _memo_##attr, attr); \ + \ + return ret; \ +} +#define SIMPLE_SET(attr) \ + dom_exception dom_html_applet_element_set_##attr( \ + dom_html_applet_element *element, \ + dom_string *attr) \ +{ \ + dom_exception ret; \ + dom_string *_memo_##attr; \ + \ + _memo_##attr = \ + ((struct dom_html_document *) \ + ((struct dom_node_internal *)element)->owner)->\ + memoised[hds_##attr]; \ + \ + ret = dom_element_set_attribute(element, _memo_##attr, attr); \ + \ + return ret; \ +} + +#define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr) + +SIMPLE_GET_SET(align); +SIMPLE_GET_SET(alt); +SIMPLE_GET_SET(archive); +SIMPLE_GET_SET(code); +SIMPLE_GET_SET(code_base); +SIMPLE_GET_SET(height); +SIMPLE_GET_SET(name); +SIMPLE_GET_SET(object); +SIMPLE_GET_SET(width); + +dom_exception dom_html_applet_element_get_hspace( + dom_html_applet_element *applet, int32_t *hspace) +{ + return dom_html_element_get_int32_t_property(&applet->base, "hspace", + SLEN("hspace"), hspace); +} + +dom_exception dom_html_applet_element_set_hspace( + dom_html_applet_element *applet, uint32_t hspace) +{ + return dom_html_element_set_int32_t_property(&applet->base, "hspace", + SLEN("hspace"), hspace); +} + +dom_exception dom_html_applet_element_get_vspace( + dom_html_applet_element *applet, int32_t *vspace) +{ + return dom_html_element_get_int32_t_property(&applet->base, "vspace", + SLEN("vspace"), vspace); +} + +dom_exception dom_html_applet_element_set_vspace( + dom_html_applet_element *applet, uint32_t vspace) +{ + return dom_html_element_set_int32_t_property(&applet->base, "vspace", + SLEN("vspace"), vspace); +} + diff --git a/src/html/html_applet_element.h b/src/html/html_applet_element.h index 2e182d5..21e6d7a 100644 --- a/src/html/html_applet_element.h +++ b/src/html/html_applet_element.h @@ -3,5 +3,50 @@ * Licensed under the MIT License, * http://www.opensource.org/licenses/mit-license.php * Copyright 2009 Bo Yang + * Copyright 2014 Rupinder Singh Khokhar */ +#ifndef dom_internal_html_applet_element_h_ +#define dom_internal_html_applet_element_h_ + +#include +#include "html/html_element.h" + + +struct dom_html_applet_element { + struct dom_html_element base; + /**< The base class */ +}; + +/* Create a dom_html_applet_element object */ +dom_exception _dom_html_applet_element_create(struct dom_html_document *doc, + dom_string *namespace, dom_string *prefix, + struct dom_html_applet_element **ele); + +/* Initialise a dom_html_applet_element object */ +dom_exception _dom_html_applet_element_initialise(struct dom_html_document *doc, + dom_string *namespace, dom_string *prefix, + struct dom_html_applet_element *ele); + +/* Finalise a dom_html_applet_element object */ +void _dom_html_applet_element_finalise(struct dom_html_applet_element *ele); + +/* Destroy a dom_html_applet_element object */ +void _dom_html_applet_element_destroy(struct dom_html_applet_element *ele); + +/* The protected virtual functions */ +dom_exception _dom_html_applet_element_parse_attribute(dom_element *ele, + dom_string *name, dom_string *value, + dom_string **parsed); +void _dom_virtual_html_applet_element_destroy(dom_node_internal *node); +dom_exception _dom_html_applet_element_copy(dom_node_internal *old, + dom_node_internal **copy); + +#define DOM_HTML_APPLET_ELEMENT_PROTECT_VTABLE \ + _dom_html_applet_element_parse_attribute + +#define DOM_NODE_PROTECT_VTABLE_HTML_APPLET_ELEMENT \ + _dom_virtual_html_applet_element_destroy, \ + _dom_html_applet_element_copy + +#endif diff --git a/src/html/html_document.c b/src/html/html_document.c index a2d007f..08dbe23 100644 --- a/src/html/html_document.c +++ b/src/html/html_document.c @@ -46,6 +46,7 @@ #include "html/html_image_element.h" #include "html/html_object_element.h" #include "html/html_param_element.h" +#include "html/html_applet_element.h" #include "core/attr.h" #include "core/string.h" @@ -315,6 +316,9 @@ _dom_html_document_create_element_internal(dom_html_document *html, } else if (dom_string_caseless_isequal(tag_name, html->memoised[hds_PARAM])) { exc = _dom_html_param_element_create(html, namespace, prefix, (dom_html_param_element **) result); + } else if (dom_string_caseless_isequal(tag_name, html->memoised[hds_APPLET])) { + exc = _dom_html_applet_element_create(html, namespace, prefix, + (dom_html_applet_element **) result); } else { exc = _dom_html_element_create(html, tag_name, namespace, prefix, result); diff --git a/src/html/html_document_strings.h b/src/html/html_document_strings.h index 0805915..ad8e602 100644 --- a/src/html/html_document_strings.h +++ b/src/html/html_document_strings.h @@ -95,6 +95,7 @@ HTML_DOCUMENT_STRINGS_ACTION1(archive) HTML_DOCUMENT_STRINGS_ACTION1(data) HTML_DOCUMENT_STRINGS_ACTION1(height) HTML_DOCUMENT_STRINGS_ACTION1(standby) +HTML_DOCUMENT_STRINGS_ACTION1(object) HTML_DOCUMENT_STRINGS_ACTION(tab_index,tabindex) HTML_DOCUMENT_STRINGS_ACTION(html_for,for) HTML_DOCUMENT_STRINGS_ACTION(date_time,datetime) diff --git a/test/testcases/tests/level1/html/HTMLAppletElement01.xml b/test/testcases/tests/level1/html/HTMLAppletElement01.xml new file mode 100644 index 0000000..7be4ac6 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement01.xml @@ -0,0 +1,43 @@ + + + + + + + +HTMLAppletElement01 +NIST + + The align attribute specifies the alignment of the object(Vertically + or Horizontally) with respect to its surrounding text. + + Retrieve the align attribute and examine its value. + +Mary Brady +2002-02-22 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLAppletElement01.xml.notimpl b/test/testcases/tests/level1/html/HTMLAppletElement01.xml.notimpl deleted file mode 100644 index 7be4ac6..0000000 --- a/test/testcases/tests/level1/html/HTMLAppletElement01.xml.notimpl +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - -HTMLAppletElement01 -NIST - - The align attribute specifies the alignment of the object(Vertically - or Horizontally) with respect to its surrounding text. - - Retrieve the align attribute and examine its value. - -Mary Brady -2002-02-22 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLAppletElement02.xml b/test/testcases/tests/level1/html/HTMLAppletElement02.xml new file mode 100644 index 0000000..2042f0a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement02.xml @@ -0,0 +1,43 @@ + + + + + + + +HTMLAppletElement02 +NIST + + The alt attribute specifies the alternate text for user agents not + rendering the normal context of this element. + + Retrieve the alt attribute and examine its value. + +Mary Brady +2002-02-22 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLAppletElement02.xml.notimpl b/test/testcases/tests/level1/html/HTMLAppletElement02.xml.notimpl deleted file mode 100644 index 2042f0a..0000000 --- a/test/testcases/tests/level1/html/HTMLAppletElement02.xml.notimpl +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - -HTMLAppletElement02 -NIST - - The alt attribute specifies the alternate text for user agents not - rendering the normal context of this element. - - Retrieve the alt attribute and examine its value. - -Mary Brady -2002-02-22 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLAppletElement03.xml b/test/testcases/tests/level1/html/HTMLAppletElement03.xml new file mode 100644 index 0000000..a68e3e0 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement03.xml @@ -0,0 +1,42 @@ + + + + + + + +HTMLAppletElement03 +NIST + + The archive attribute specifies a comma-seperated archive list. + + Retrieve the archive attribute and examine its value. + +Mary Brady +2002-02-22 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLAppletElement03.xml.notimpl b/test/testcases/tests/level1/html/HTMLAppletElement03.xml.notimpl deleted file mode 100644 index a68e3e0..0000000 --- a/test/testcases/tests/level1/html/HTMLAppletElement03.xml.notimpl +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - -HTMLAppletElement03 -NIST - - The archive attribute specifies a comma-seperated archive list. - - Retrieve the archive attribute and examine its value. - -Mary Brady -2002-02-22 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLAppletElement04.xml b/test/testcases/tests/level1/html/HTMLAppletElement04.xml new file mode 100644 index 0000000..23e8bb6 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement04.xml @@ -0,0 +1,42 @@ + + + + + + + +HTMLAppletElement04 +NIST + + The code attribute specifies the applet class file. + + Retrieve the code attribute and examine its value. + +Mary Brady +2002-02-22 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLAppletElement04.xml.notimpl b/test/testcases/tests/level1/html/HTMLAppletElement04.xml.notimpl deleted file mode 100644 index 23e8bb6..0000000 --- a/test/testcases/tests/level1/html/HTMLAppletElement04.xml.notimpl +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - -HTMLAppletElement04 -NIST - - The code attribute specifies the applet class file. - - Retrieve the code attribute and examine its value. - -Mary Brady -2002-02-22 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLAppletElement05.xml b/test/testcases/tests/level1/html/HTMLAppletElement05.xml new file mode 100644 index 0000000..81076d1 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement05.xml @@ -0,0 +1,42 @@ + + + + + + + +HTMLAppletElement05 +NIST + + The codeBase attribute specifies an optional base URI for the applet. + + Retrieve the codeBase attribute and examine its value. + +Mary Brady +2002-02-22 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLAppletElement05.xml.notimpl b/test/testcases/tests/level1/html/HTMLAppletElement05.xml.notimpl deleted file mode 100644 index 81076d1..0000000 --- a/test/testcases/tests/level1/html/HTMLAppletElement05.xml.notimpl +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - -HTMLAppletElement05 -NIST - - The codeBase attribute specifies an optional base URI for the applet. - - Retrieve the codeBase attribute and examine its value. - -Mary Brady -2002-02-22 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLAppletElement06.xml b/test/testcases/tests/level1/html/HTMLAppletElement06.xml new file mode 100644 index 0000000..1d280da --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement06.xml @@ -0,0 +1,42 @@ + + + + + + + +HTMLAppletElement06 +NIST + + The height attribute overrides the height. + + Retrieve the height attribute and examine its value. + +Mary Brady +2002-02-22 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLAppletElement06.xml.notimpl b/test/testcases/tests/level1/html/HTMLAppletElement06.xml.notimpl deleted file mode 100644 index 1d280da..0000000 --- a/test/testcases/tests/level1/html/HTMLAppletElement06.xml.notimpl +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - -HTMLAppletElement06 -NIST - - The height attribute overrides the height. - - Retrieve the height attribute and examine its value. - -Mary Brady -2002-02-22 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLAppletElement07.xml.kfail b/test/testcases/tests/level1/html/HTMLAppletElement07.xml.kfail new file mode 100644 index 0000000..d3b4858 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement07.xml.kfail @@ -0,0 +1,51 @@ + + + + + + + +HTMLAppletElement07 +NIST + + The hspace attribute specifies the horizontal space to the left + and right of this image, applet, or object. Retrieve the hspace attribute and examine its value. + + This test is incompatible with L2 HTML implementations due to a change in the type of the attribute. + +Mary Brady +2002-02-22 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLAppletElement07.xml.notimpl b/test/testcases/tests/level1/html/HTMLAppletElement07.xml.notimpl deleted file mode 100644 index d3b4858..0000000 --- a/test/testcases/tests/level1/html/HTMLAppletElement07.xml.notimpl +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - -HTMLAppletElement07 -NIST - - The hspace attribute specifies the horizontal space to the left - and right of this image, applet, or object. Retrieve the hspace attribute and examine its value. - - This test is incompatible with L2 HTML implementations due to a change in the type of the attribute. - -Mary Brady -2002-02-22 - - - - - - - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLAppletElement08.xml b/test/testcases/tests/level1/html/HTMLAppletElement08.xml new file mode 100644 index 0000000..a473f23 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement08.xml @@ -0,0 +1,42 @@ + + + + + + + +HTMLAppletElement08 +NIST + + The name attribute specifies the name of the applet. + + Retrieve the name attribute and examine its value. + +Mary Brady +2002-02-22 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLAppletElement08.xml.notimpl b/test/testcases/tests/level1/html/HTMLAppletElement08.xml.notimpl deleted file mode 100644 index a473f23..0000000 --- a/test/testcases/tests/level1/html/HTMLAppletElement08.xml.notimpl +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - -HTMLAppletElement08 -NIST - - The name attribute specifies the name of the applet. - - Retrieve the name attribute and examine its value. - -Mary Brady -2002-02-22 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLAppletElement09.xml.kfail b/test/testcases/tests/level1/html/HTMLAppletElement09.xml.kfail new file mode 100644 index 0000000..98d2413 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement09.xml.kfail @@ -0,0 +1,51 @@ + + + + + + + +HTMLAppletElement09 +NIST + + The vspace attribute specifies the vertical space above and below + this image, applet or object. Retrieve the vspace attribute and examine its value. + + This test is incompatible with L2 HTML implementations due to a change in the type of the attribute. + + +Mary Brady +2002-02-22 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLAppletElement09.xml.notimpl b/test/testcases/tests/level1/html/HTMLAppletElement09.xml.notimpl deleted file mode 100644 index 98d2413..0000000 --- a/test/testcases/tests/level1/html/HTMLAppletElement09.xml.notimpl +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - -HTMLAppletElement09 -NIST - - The vspace attribute specifies the vertical space above and below - this image, applet or object. Retrieve the vspace attribute and examine its value. - - This test is incompatible with L2 HTML implementations due to a change in the type of the attribute. - - -Mary Brady -2002-02-22 - - - - - - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLAppletElement10.xml b/test/testcases/tests/level1/html/HTMLAppletElement10.xml new file mode 100644 index 0000000..2cf1b6a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement10.xml @@ -0,0 +1,42 @@ + + + + + + + +HTMLAppletElement10 +NIST + + The width attribute overrides the regular width. + + Retrieve the width attribute and examine its value. + +Mary Brady +2002-02-22 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLAppletElement10.xml.notimpl b/test/testcases/tests/level1/html/HTMLAppletElement10.xml.notimpl deleted file mode 100644 index 2cf1b6a..0000000 --- a/test/testcases/tests/level1/html/HTMLAppletElement10.xml.notimpl +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - -HTMLAppletElement10 -NIST - - The width attribute overrides the regular width. - - Retrieve the width attribute and examine its value. - -Mary Brady -2002-02-22 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLAppletElement11.xml b/test/testcases/tests/level1/html/HTMLAppletElement11.xml new file mode 100644 index 0000000..91cba8b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement11.xml @@ -0,0 +1,43 @@ + + + + + + + +HTMLAppletElement11 +NIST + + The object attribute specifies the serialized applet file. + + Retrieve the object attribute and examine its value. + +Rick Rivello +Curt Arnold +2002-07-19 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLAppletElement11.xml.notimpl b/test/testcases/tests/level1/html/HTMLAppletElement11.xml.notimpl deleted file mode 100644 index 91cba8b..0000000 --- a/test/testcases/tests/level1/html/HTMLAppletElement11.xml.notimpl +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - -HTMLAppletElement11 -NIST - - The object attribute specifies the serialized applet file. - - Retrieve the object attribute and examine its value. - -Rick Rivello -Curt Arnold -2002-07-19 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level2/html/HTMLAppletElement07.xml b/test/testcases/tests/level2/html/HTMLAppletElement07.xml new file mode 100644 index 0000000..07a6c0d --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLAppletElement07.xml @@ -0,0 +1,42 @@ + + + + + + +HTMLAppletElement07 +NIST + + The hspace attribute specifies the horizontal space to the left + and right of this image, applet, or object. + + Retrieve the hspace attribute and examine it's value. + +Mary Brady +2001-12-03 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLAppletElement07.xml.kfail b/test/testcases/tests/level2/html/HTMLAppletElement07.xml.kfail deleted file mode 100644 index 07a6c0d..0000000 --- a/test/testcases/tests/level2/html/HTMLAppletElement07.xml.kfail +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - -HTMLAppletElement07 -NIST - - The hspace attribute specifies the horizontal space to the left - and right of this image, applet, or object. - - Retrieve the hspace attribute and examine it's value. - -Mary Brady -2001-12-03 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level2/html/HTMLAppletElement09.xml b/test/testcases/tests/level2/html/HTMLAppletElement09.xml new file mode 100644 index 0000000..b602397 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLAppletElement09.xml @@ -0,0 +1,42 @@ + + + + + + +HTMLAppletElement09 +NIST + + The vspace attribute specifies the vertical space above and below + this image, applet or object. + + Retrieve the vspace attribute and examine it's value. + +Mary Brady +2001-12-03 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLAppletElement09.xml.kfail b/test/testcases/tests/level2/html/HTMLAppletElement09.xml.kfail deleted file mode 100644 index b602397..0000000 --- a/test/testcases/tests/level2/html/HTMLAppletElement09.xml.kfail +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - -HTMLAppletElement09 -NIST - - The vspace attribute specifies the vertical space above and below - this image, applet or object. - - Retrieve the vspace attribute and examine it's value. - -Mary Brady -2001-12-03 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level2/html/files/applet.html b/test/testcases/tests/level2/html/files/applet.html new file mode 100644 index 0000000..d721cf1 --- /dev/null +++ b/test/testcases/tests/level2/html/files/applet.html @@ -0,0 +1,12 @@ + + + + +NIST DOM HTML Test - Applet + + +

+ +

+ + diff --git a/test/testcases/tests/level2/html/files/applet.xhtml b/test/testcases/tests/level2/html/files/applet.xhtml new file mode 100644 index 0000000..cf2070c --- /dev/null +++ b/test/testcases/tests/level2/html/files/applet.xhtml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - Applet + + +

+ +

+ + + diff --git a/test/testcases/tests/level2/html/files/applet.xml b/test/testcases/tests/level2/html/files/applet.xml new file mode 100644 index 0000000..cf2070c --- /dev/null +++ b/test/testcases/tests/level2/html/files/applet.xml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - Applet + + +

+ +

+ + + diff --git a/test/testcases/tests/level2/html/files/applet2.html b/test/testcases/tests/level2/html/files/applet2.html new file mode 100644 index 0000000..0379ed1 --- /dev/null +++ b/test/testcases/tests/level2/html/files/applet2.html @@ -0,0 +1,12 @@ + + + + +NIST DOM HTML Test - Applet + + +

+ +

+ + diff --git a/test/testcases/tests/level2/html/files/applet2.xhtml b/test/testcases/tests/level2/html/files/applet2.xhtml new file mode 100644 index 0000000..43b27da --- /dev/null +++ b/test/testcases/tests/level2/html/files/applet2.xhtml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - Applet + + +

+ +

+ + + diff --git a/test/testcases/tests/level2/html/files/applet2.xml b/test/testcases/tests/level2/html/files/applet2.xml new file mode 100644 index 0000000..43b27da --- /dev/null +++ b/test/testcases/tests/level2/html/files/applet2.xml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - Applet + + +

+ +

+ + + -- cgit v1.2.3