aboutsummaryrefslogtreecommitdiffstats
path: root/table.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-06-19 11:40:17 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-06-19 11:40:17 +0000
commit6a032f360b6b6dc30dc4c5028988fa5e453ab4ab (patch)
tree0370afddf3ad928abf17a9e2ab8a6cd688afdebf /table.c
parentAdding upstream version 0.5.3 (diff)
downloadw3m-6a032f360b6b6dc30dc4c5028988fa5e453ab4ab.tar.gz
w3m-6a032f360b6b6dc30dc4c5028988fa5e453ab4ab.zip
Support the button element as defined in HTML 4.01
Patch from upstream, [w3m-dev 04411] on 2010-09-17, to support the button element. It is discussed upstream and incomplete, but enough to login Launchpad.
Diffstat (limited to '')
-rw-r--r--table.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/table.c b/table.c
index e1243ff..d376284 100644
--- a/table.c
+++ b/table.c
@@ -2878,6 +2878,14 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
tmp = process_input(tag);
feed_table1(tbl, tmp, mode, width);
break;
+ case HTML_BUTTON:
+ tmp = process_button(tag);
+ feed_table1(tbl, tmp, mode, width);
+ break;
+ case HTML_N_BUTTON:
+ tmp = process_n_button();
+ feed_table1(tbl, tmp, mode, width);
+ break;
case HTML_SELECT:
tmp = process_select(tag);
if (tmp)