diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-07-19 16:54:27 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-07-19 16:54:27 +0100 |
commit | 1f4cf0d70ae1f082c3bf7f08fabc70a40dd0848a (patch) | |
tree | 2df7d4845d65984a5ec24584ea225d2e9dab8c9d /bindings/hubbub | |
parent | 303419d1000e74db54b7d143ce1d49dc4c3632c9 (diff) | |
parent | 345ea141d0410cf5dbde888659edfbefd838ce02 (diff) | |
download | libdom-1f4cf0d70ae1f082c3bf7f08fabc70a40dd0848a.tar.gz libdom-1f4cf0d70ae1f082c3bf7f08fabc70a40dd0848a.tar.bz2 |
Merge branch 'master' of git://git.netsurf-browser.org/libdom into chris/amiga-hubbub-lib-compat
Diffstat (limited to 'bindings/hubbub')
-rw-r--r-- | bindings/hubbub/parser.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bindings/hubbub/parser.c b/bindings/hubbub/parser.c index 89d45e5..9117c20 100644 --- a/bindings/hubbub/parser.c +++ b/bindings/hubbub/parser.c @@ -26,6 +26,7 @@ #include "html/html_document.h" #include "html/html_button_element.h" #include "html/html_input_element.h" +#include "html/html_text_area_element.h" #include <libwapcaplet/libwapcaplet.h> @@ -496,6 +497,15 @@ static hubbub_error form_associate(void *parser, void *form, void *node) "Error in form_associate"); return HUBBUB_UNKNOWN; } + } else if (dom_string_caseless_isequal(ele->name, + doc->memoised[hds_TEXTAREA])) { + err = _dom_html_text_area_element_set_form( + (dom_html_text_area_element *)node, form_ele); + if (err != DOM_NO_ERR) { + dom_parser->msg(DOM_MSG_CRITICAL, dom_parser->mctx, + "Error in form_associate"); + return HUBBUB_UNKNOWN; + } } return HUBBUB_OK; |