diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-07 14:15:59 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-07 14:15:59 +0000 |
commit | 9ec82130b103039a26c4ab24f767d6aa96af7058 (patch) | |
tree | 19514aa29f28f0155f646e109d371bdf3257cc26 /html.c | |
parent | fix indent (diff) | |
download | w3m-9ec82130b103039a26c4ab24f767d6aa96af7058.tar.gz w3m-9ec82130b103039a26c4ab24f767d6aa96af7058.zip |
[w3m-dev 03006] fix form order in table
* file.c (process_form): static
fix form index order
method should be quoted
* file.c (process_form): added
* file.c (HTMLlineproc2body): add form_id
* html.c (ALST_FORM_INT): added
* html.c (form_int): update
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | html.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.9 2002/02/05 12:31:27 ukai Exp $ */ +/* $Id: html.c,v 1.10 2002/02/07 14:16:00 ukai Exp $ */ #include "html.h" /* Define HTML Tag Infomation Table */ @@ -94,6 +94,11 @@ unsigned char ALST_RULE[] = { ATTR_TYPE }; #define MAXA_RULE 1 unsigned char ALST_TITLE_ALT[] = { ATTR_TITLE }; #define MAXA_TITLE_ALT 1 +unsigned char ALST_FORM_INT[] = + { ATTR_METHOD, ATTR_ACTION, ATTR_CHARSET, ATTR_ACCEPT_CHARSET, + ATTR_ENCTYPE, ATTR_TARGET, ATTR_NAME, ATTR_FID +}; +#define MAXA_FORM_INT 8 unsigned char ALST_INPUT_ALT[] = { ATTR_HSEQ, ATTR_FID, ATTR_NO_EFFECT, ATTR_TYPE, ATTR_NAME, ATTR_VALUE, ATTR_CHECKED, ATTR_ACCEPT, ATTR_SIZE, ATTR_MAXLENGTH, ATTR_READONLY, @@ -232,7 +237,7 @@ TagInfo TagMAP[MAX_HTMLTAG] = { {"pre_int", NULL, 0, TFLG_INT}, /* 116 HTML_PRE_INT */ {"/pre_int", NULL, 0, TFLG_INT | TFLG_END}, /* 117 HTML_N_PRE_INT */ {"title_alt", ALST_TITLE_ALT, MAXA_TITLE_ALT, TFLG_INT}, /* 118 HTML_TITLE_ALT */ - {"form_int", ALST_FORM, MAXA_FORM, TFLG_INT}, /* 119 HTML_FORM_INT */ + {"form_int", ALST_FORM_INT, MAXA_FORM_INT, TFLG_INT}, /* 119 HTML_FORM_INT */ {"/form_int", NULL, 0, TFLG_INT | TFLG_END}, /* 120 HTML_N_FORM_INT */ {"dl_compact", NULL, 0, TFLG_INT}, /* 121 HTML_DL_COMPACT */ {"input_alt", ALST_INPUT_ALT, MAXA_INPUT_ALT, TFLG_INT}, /* 122 HTML_INPUT_ALT */ |