Bug 1121475. Drop special handling of HTML <command> in the void tag list and the sanitizer whitelist, since there is no HTML <command> tag. r=smaug

This commit is contained in:
Boris Zbarsky 2015-01-22 22:36:21 -05:00
parent 9ec7716b64
commit 1ab3944141
3 changed files with 1 additions and 7 deletions

View File

@ -2553,7 +2553,7 @@ IsVoidTag(nsIAtom* aTag)
static const nsIAtom* voidElements[] = {
nsGkAtoms::area, nsGkAtoms::base, nsGkAtoms::basefont,
nsGkAtoms::bgsound, nsGkAtoms::br, nsGkAtoms::col,
nsGkAtoms::command, nsGkAtoms::embed, nsGkAtoms::frame,
nsGkAtoms::embed, nsGkAtoms::frame,
nsGkAtoms::hr, nsGkAtoms::img, nsGkAtoms::input,
nsGkAtoms::keygen, nsGkAtoms::link, nsGkAtoms::meta,
nsGkAtoms::param, nsGkAtoms::source, nsGkAtoms::track,

View File

@ -53,7 +53,6 @@ nsIAtom** const kElementsHTML[] = {
&nsGkAtoms::code,
&nsGkAtoms::col,
&nsGkAtoms::colgroup,
&nsGkAtoms::command,
&nsGkAtoms::datalist,
&nsGkAtoms::dd,
&nsGkAtoms::del,

View File

@ -1,5 +0,0 @@
[outerHTML.html]
type: testharness
[Node for command]
expected: FAIL