aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h
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 /fm.h
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--fm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/fm.h b/fm.h
index 8378939..633ce90 100644
--- a/fm.h
+++ b/fm.h
@@ -562,6 +562,13 @@ typedef struct _DownloadList {
#define INIT_BUFFER_WIDTH ((_INIT_BUFFER_WIDTH > 0) ? _INIT_BUFFER_WIDTH : 0)
#define FOLD_BUFFER_WIDTH (FoldLine ? (INIT_BUFFER_WIDTH + 1) : -1)
+struct input_alt_attr {
+ int hseq;
+ int fid;
+ int in;
+ Str type, name, value;
+};
+
typedef struct {
int pos;
int len;
@@ -569,6 +576,7 @@ typedef struct {
long flag;
Anchor anchor;
Str img_alt;
+ struct input_alt_attr input_alt;
char fontstat[FONTSTAT_SIZE];
short nobr_level;
Lineprop prev_ctype;
@@ -591,6 +599,7 @@ struct readbuffer {
short nobr_level;
Anchor anchor;
Str img_alt;
+ struct input_alt_attr input_alt;
char fontstat[FONTSTAT_SIZE];
char fontstat_stack[FONT_STACK_SIZE][FONTSTAT_SIZE];
int fontstat_sp;