mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[html5] Stubs for html_main and html_article. Refs #282
This commit is contained in:
parent
69edab0036
commit
ef80897185
@ -41,6 +41,18 @@
|
|||||||
/* Unsafe macros */
|
/* Unsafe macros */
|
||||||
#include "document/html/internal.h"
|
#include "document/html/internal.h"
|
||||||
|
|
||||||
|
void
|
||||||
|
html_article(struct html_context *html_context, char *a,
|
||||||
|
char *xxx3, char *xxx4, char **xxx5)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
html_main(struct html_context *html_context, char *a,
|
||||||
|
char *xxx3, char *xxx4, char **xxx5)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
html_section(struct html_context *html_context, char *a,
|
html_section(struct html_context *html_context, char *a,
|
||||||
char *xxx3, char *xxx4, char **xxx5)
|
char *xxx3, char *xxx4, char **xxx5)
|
||||||
|
@ -9,6 +9,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
element_handler_T html_address;
|
element_handler_T html_address;
|
||||||
|
element_handler_T html_article;
|
||||||
element_handler_T html_base;
|
element_handler_T html_base;
|
||||||
element_handler_T html_blockquote;
|
element_handler_T html_blockquote;
|
||||||
element_handler_T html_blockquote_close;
|
element_handler_T html_blockquote_close;
|
||||||
@ -36,6 +37,7 @@ element_handler_T html_hr;
|
|||||||
element_handler_T html_italic;
|
element_handler_T html_italic;
|
||||||
element_handler_T html_li;
|
element_handler_T html_li;
|
||||||
element_handler_T html_linebrk;
|
element_handler_T html_linebrk;
|
||||||
|
element_handler_T html_main;
|
||||||
element_handler_T html_meta;
|
element_handler_T html_meta;
|
||||||
element_handler_T html_noframes;
|
element_handler_T html_noframes;
|
||||||
element_handler_T html_noscript;
|
element_handler_T html_noscript;
|
||||||
|
@ -458,6 +458,7 @@ static struct element_info elements[] = {
|
|||||||
{"ABBR", html_italic, NULL, 0, ET_NESTABLE },
|
{"ABBR", html_italic, NULL, 0, ET_NESTABLE },
|
||||||
{"ADDRESS", html_address, NULL, 2, ET_NESTABLE },
|
{"ADDRESS", html_address, NULL, 2, ET_NESTABLE },
|
||||||
{"APPLET", html_applet, NULL, 1, ET_NON_PAIRABLE},
|
{"APPLET", html_applet, NULL, 1, ET_NON_PAIRABLE},
|
||||||
|
{"ARTICLE", html_article, NULL, 0, ET_NESTABLE },
|
||||||
{"AUDIO", html_audio, NULL, 1, ET_NON_PAIRABLE},
|
{"AUDIO", html_audio, NULL, 1, ET_NON_PAIRABLE},
|
||||||
{"B", html_bold, NULL, 0, ET_NESTABLE },
|
{"B", html_bold, NULL, 0, ET_NESTABLE },
|
||||||
{"BASE", html_base, NULL, 0, ET_NON_PAIRABLE},
|
{"BASE", html_base, NULL, 0, ET_NON_PAIRABLE},
|
||||||
@ -498,6 +499,7 @@ static struct element_info elements[] = {
|
|||||||
{"LI", html_li, NULL, 1, ET_LI },
|
{"LI", html_li, NULL, 1, ET_LI },
|
||||||
{"LINK", html_link, NULL, 1, ET_NON_PAIRABLE},
|
{"LINK", html_link, NULL, 1, ET_NON_PAIRABLE},
|
||||||
{"LISTING", html_pre, NULL, 2, ET_NESTABLE },
|
{"LISTING", html_pre, NULL, 2, ET_NESTABLE },
|
||||||
|
{"MAIN", html_main, NULL, 0, ET_NON_NESTABLE},
|
||||||
{"MENU", html_ul, NULL, 2, ET_NESTABLE },
|
{"MENU", html_ul, NULL, 2, ET_NESTABLE },
|
||||||
{"META", html_meta, NULL, 0, ET_NON_PAIRABLE},
|
{"META", html_meta, NULL, 0, ET_NON_PAIRABLE},
|
||||||
{"NOFRAMES", html_noframes, NULL, 0, ET_NESTABLE },
|
{"NOFRAMES", html_noframes, NULL, 0, ET_NESTABLE },
|
||||||
|
Loading…
Reference in New Issue
Block a user