From f7930870c0027672685ebc6df415240c4afe9a0b Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 7 Jul 2012 17:16:25 +0100 Subject: HTMLFormElement: Add basic attributes, enable 5 more tests --- include/dom/html/html_form_element.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'include') diff --git a/include/dom/html/html_form_element.h b/include/dom/html/html_form_element.h index 230846c..c4ee1d8 100644 --- a/include/dom/html/html_form_element.h +++ b/include/dom/html/html_form_element.h @@ -9,6 +9,7 @@ #define dom_html_form_element_h_ #include +#include struct dom_html_collection; @@ -18,6 +19,37 @@ dom_exception dom_html_form_element_get_elements(dom_html_form_element *ele, struct dom_html_collection **col); dom_exception dom_html_form_element_get_length(dom_html_form_element *ele, unsigned long *len); + +dom_exception dom_html_form_element_get_accept_charset( + dom_html_form_element *ele, dom_string **accept_charset); + +dom_exception dom_html_form_element_set_accept_charset( + dom_html_form_element *ele, dom_string *accept_charset); + +dom_exception dom_html_form_element_get_action( + dom_html_form_element *ele, dom_string **action); + +dom_exception dom_html_form_element_set_action( + dom_html_form_element *ele, dom_string *action); + +dom_exception dom_html_form_element_get_enctype( + dom_html_form_element *ele, dom_string **enctype); + +dom_exception dom_html_form_element_set_enctype( + dom_html_form_element *ele, dom_string *enctype); + +dom_exception dom_html_form_element_get_method( + dom_html_form_element *ele, dom_string **method); + +dom_exception dom_html_form_element_set_method( + dom_html_form_element *ele, dom_string *method); + +dom_exception dom_html_form_element_get_target( + dom_html_form_element *ele, dom_string **target); + +dom_exception dom_html_form_element_set_target( + dom_html_form_element *ele, dom_string *target); + dom_exception dom_html_form_element_submit(dom_html_form_element *ele); dom_exception dom_html_form_element_reset(dom_html_form_element *ele); -- cgit v1.2.3