diff options
author | jcid <devnull@localhost> | 2008-08-06 14:58:39 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-08-06 14:58:39 +0200 |
commit | 9eba6c5572de8bfe82606206e8a44a403d936f32 (patch) | |
tree | 9a52e3a46def566c13dc562c0f72a6862fc85dd0 /src/html.cc | |
parent | addc25b3b4bc19ddfe99e844df7fb3ac38c5866c (diff) |
- Allowed form inputs outside FORM (it's in the standard).
Diffstat (limited to 'src/html.cc')
-rw-r--r-- | src/html.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/html.cc b/src/html.cc index 0ee3eb90..347cb4fa 100644 --- a/src/html.cc +++ b/src/html.cc @@ -503,6 +503,7 @@ DilloHtml::DilloHtml(BrowserWindow *p_bw, const DilloUrl *url, /* Init page-handling variables */ forms = new misc::SimpleVector <DilloHtmlForm*> (1); + inputs_outside_form = new misc::SimpleVector <DilloHtmlInput*> (1); links = new misc::SimpleVector <DilloUrl*> (64); images = new misc::SimpleVector <DilloLinkImage*> (16); //a_Dw_image_map_list_init(&maps); @@ -570,6 +571,10 @@ DilloHtml::~DilloHtml() a_Html_form_delete (forms->get(i)); delete(forms); + for (int i = 0; i < inputs_outside_form->size(); i++) + a_Html_input_delete(inputs_outside_form->get(i)); + delete(inputs_outside_form); + for (int i = 0; i < links->size(); i++) if (links->get(i)) a_Url_free(links->get(i)); |