Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thead tbody and tfoot tag "activation" #7

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/html.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3533,13 +3533,13 @@ static const TagInfo Tags[] = {
{"sub", B8(01011),'R', Html_tag_open_default, NULL, NULL},
{"sup", B8(01011),'R', Html_tag_open_default, NULL, NULL},
{"table", B8(01100),'R', Html_tag_open_table, Html_tag_content_table, NULL},
/* tbody */
{"tbody", B8(01010),'O', Html_tag_open_tbody, Html_tag_content_tbody, NULL},
{"td", B8(01110),'O', Html_tag_open_td, Html_tag_content_td, NULL},
{"textarea", B8(01011),'R', Html_tag_open_textarea, Html_tag_content_textarea,
Html_tag_close_textarea},
/* tfoot */
{"tfoot", B8(01010),'O', Html_tag_open_tfoot, NULL, NULL},
{"th", B8(01110),'O', Html_tag_open_th, Html_tag_content_th, NULL},
/* thead */
{"thead", B8(01010),'O', Html_tag_open_thead, NULL, NULL},
{"title", B8(10011),'R', Html_tag_open_title, NULL, Html_tag_close_title},
{"tr", B8(01100),'O', Html_tag_open_tr, Html_tag_content_tr, NULL},
{"tt", B8(01011),'R', Html_tag_open_default, NULL, NULL},
Expand Down
25 changes: 25 additions & 0 deletions src/table.cc
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,31 @@ void Html_tag_content_td(DilloHtml *html, const char *tag, int tagsize)
Html_tag_content_table_cell (html, tag, tagsize);
}

/*
* <tbody>
*/
void Html_tag_open_tbody(DilloHtml *html, const char *tag, int tagsize)
{
}

void Html_tag_content_tbody(DilloHtml *html, const char *tag, int tagsize)
{
}

/*
* <tfoot>
*/
void Html_tag_open_tfoot(DilloHtml *html, const char *tag, int tagsize)
{
}

/*
* <thead>
*/
void Html_tag_open_thead(DilloHtml *html, const char *tag, int tagsize)
{
}

/*
* <TH>
*/
Expand Down
4 changes: 4 additions & 0 deletions src/table.hh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ void Html_tag_open_tr(DilloHtml *html, const char *tag, int tagsize);
void Html_tag_content_tr(DilloHtml *html, const char *tag, int tagsize);
void Html_tag_open_td(DilloHtml *html, const char *tag, int tagsize);
void Html_tag_content_td(DilloHtml *html, const char *tag, int tagsize);
void Html_tag_open_tbody(DilloHtml *html, const char *tag, int tagsize);
void Html_tag_content_tbody(DilloHtml *html, const char *tag, int tagsize);
void Html_tag_open_tfoot(DilloHtml *html, const char *tag, int tagsize);
void Html_tag_open_thead(DilloHtml *html, const char *tag, int tagsize);
void Html_tag_open_th(DilloHtml *html, const char *tag, int tagsize);
void Html_tag_content_th(DilloHtml *html, const char *tag, int tagsize);

Expand Down