Skip to content
Open
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
2 changes: 2 additions & 0 deletions src/treebuilder/element-type.gperf
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ s, S
script, SCRIPT
select, SELECT
small, SMALL
source, SOURCE
spacer, SPACER
strike, STRIKE
strong, STRONG
Expand All @@ -125,6 +126,7 @@ th, TH
thead, THEAD
title, TITLE
tr, TR
track, TRACK
tt, TT
u, U
ul, UL
Expand Down
4 changes: 2 additions & 2 deletions src/treebuilder/element-type.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ typedef enum
FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, HEADER, HR, IFRAME,
IMAGE, IMG, INPUT, ISINDEX, LI, LINK, LISTING, MAIN, MENU, META, NAV,
NOEMBED, NOFRAMES, NOSCRIPT, OL, OPTGROUP, OPTION, P, PARAM, PLAINTEXT,
PRE, SCRIPT, SECTION, SELECT, SPACER, STYLE, SUMMARY, TBODY, TEXTAREA,
TFOOT, THEAD, TITLE, TR, UL, WBR,
PRE, SCRIPT, SECTION, SELECT, SOURCE, SPACER, STYLE, SUMMARY, TBODY,
TEXTAREA, TFOOT, THEAD, TITLE, TR, TRACK, UL, WBR,
/* Scoping */
APPLET, BUTTON, CAPTION, HTML, MARQUEE, OBJECT, TABLE, TD, TH,
/* Formatting */
Expand Down
7 changes: 4 additions & 3 deletions src/treebuilder/in_body.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,11 @@ hubbub_error process_start_tag(hubbub_treebuilder *treebuilder,
current_table(treebuilder)].tainted = false;
treebuilder->context.mode = IN_TABLE;
}
} else if (type == AREA || type == BASEFONT ||
type == BGSOUND || type == BR ||
} else if (type == AREA || type == BASEFONT ||
type == BGSOUND || type == BR ||
type == EMBED || type == IMG || type == INPUT ||
type == PARAM || type == SPACER || type == WBR) {
type == PARAM || type == SOURCE || type == SPACER ||
type == TRACK || type == WBR) {
err = reconstruct_active_formatting_list(treebuilder);
if (err != HUBBUB_OK)
return err;
Expand Down