summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-07-07 17:16:25 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-07-07 17:16:25 +0100
commitf7930870c0027672685ebc6df415240c4afe9a0b (patch)
tree32347ae9560eca482573b864ef48079dd4b59830 /include
parent4bd9b5366d2eb5d6430f75a0ccd7ea4cb10ff838 (diff)
downloadlibdom-f7930870c0027672685ebc6df415240c4afe9a0b.tar.gz
libdom-f7930870c0027672685ebc6df415240c4afe9a0b.tar.bz2
HTMLFormElement: Add basic attributes, enable 5 more tests
Diffstat (limited to 'include')
-rw-r--r--include/dom/html/html_form_element.h32
1 files changed, 32 insertions, 0 deletions
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 <dom/core/exceptions.h>
+#include <dom/core/string.h>
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);