diff options
author | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-06-19 11:40:17 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-06-19 11:40:17 +0000 |
commit | 6a032f360b6b6dc30dc4c5028988fa5e453ab4ab (patch) | |
tree | 0370afddf3ad928abf17a9e2ab8a6cd688afdebf /fm.h | |
parent | Adding upstream version 0.5.3 (diff) | |
download | w3m-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 'fm.h')
-rw-r--r-- | fm.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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; |