aboutsummaryrefslogtreecommitdiffstats
path: root/html.h
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-02 17:27:34 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-02 17:27:34 +0000
commiteb44b171c3aeeeca0c7af5fde7be3cd1c7456795 (patch)
treef5294559ebe099cffc7f838d71f69ad89f8fec02 /html.h
parent[w3m-dev 03498] Re: parse <!-- ... --> in <script> (diff)
downloadw3m-eb44b171c3aeeeca0c7af5fde7be3cd1c7456795.tar.gz
w3m-eb44b171c3aeeeca0c7af5fde7be3cd1c7456795.zip
[w3m-dev 03501] link tag support
* buffer.c (reshapeBuffer): initialize formlist, linklist, maplist, hmarklist, imarklist * file.c (addLink): added (HTMLlineproc2body): add HTML_LINK (loadHTMLstream): use HTMLlineproc0 not in R_ST_NORMAL (reloadBuffer): initialize linklist, maplist, hmarklist, imarklist * fm.h (LINK_TYPE_NONE): added (LINK_TYPE_REL): added (LINK_TYPE_REV): added (LinkList): added (Buffer): add linklist * html.c (ALST_LINK): added (TagMAP): add link (AtrMAP): add rel, rev, title * html.h (HTML_LINK): added (ATTR_REL): added (ATTR_REV): added (ATTR_TITLE): added * map.c (append_map_info): anchor (append_link_info): added (page_info_panel): append_link_info * menu.c (LinkMenu): added (linkV): added (initLinkMenu): added (lmGoURL): added (popupMenu): initLinkMenu() (initMenu): w3mMenuList new 4 add "Link" * tagtable.tab (link): added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'html.h')
-rw-r--r--html.h35
1 files changed, 19 insertions, 16 deletions
diff --git a/html.h b/html.h
index 677ad29..4aaf7c5 100644
--- a/html.h
+++ b/html.h
@@ -1,4 +1,4 @@
-/* $Id: html.h,v 1.10 2002/11/15 15:19:45 ukai Exp $ */
+/* $Id: html.h,v 1.11 2002/12/02 17:27:39 ukai Exp $ */
#ifndef _HTML_H
#define _HTML_H
#ifdef USE_SSL
@@ -190,6 +190,7 @@ typedef struct {
#define HTML_N_SUP 101
#define HTML_SUB 102
#define HTML_N_SUB 103
+#define HTML_LINK 104
/* pseudo tag */
#define HTML_INTERNAL 106
@@ -266,23 +267,25 @@ typedef struct {
#define ATTR_SHAPE 44
#define ATTR_COORDS 45
#define ATTR_ISMAP 46
+#define ATTR_REL 47
+#define ATTR_REV 48
+#define ATTR_TITLE 49
/* Internal attribute */
-#define ATTR_XOFFSET 49
-#define ATTR_YOFFSET 50
-#define ATTR_TOP_MARGIN 51
-#define ATTR_BOTTOM_MARGIN 52
-#define ATTR_TID 53
-#define ATTR_FID 54
-#define ATTR_FOR_TABLE 55
-#define ATTR_FRAMENAME 56
-#define ATTR_HBORDER 57
-#define ATTR_HSEQ 58
-#define ATTR_NO_EFFECT 59
-#define ATTR_REFERER 60
-#define ATTR_SELECTNUMBER 61
-#define ATTR_TEXTAREANUMBER 62
-#define ATTR_TITLE 63
+#define ATTR_XOFFSET 50
+#define ATTR_YOFFSET 51
+#define ATTR_TOP_MARGIN 52
+#define ATTR_BOTTOM_MARGIN 53
+#define ATTR_TID 54
+#define ATTR_FID 55
+#define ATTR_FOR_TABLE 56
+#define ATTR_FRAMENAME 57
+#define ATTR_HBORDER 58
+#define ATTR_HSEQ 59
+#define ATTR_NO_EFFECT 60
+#define ATTR_REFERER 61
+#define ATTR_SELECTNUMBER 62
+#define ATTR_TEXTAREANUMBER 63
#define MAX_TAGATTR 64