Bug 1446097. Switch to "set" as the canonical nsGkAtoms name of the string "set", so it matches the actual tag name "set" in SVG. r=hsivonen,njn

Most of the noise is from the fact that clang-format on parser/html/*.{h,cpp}
reformatted all sorts of stuff.  Not running it caused lots of format changes
from the generator... I guess we changed the format rules since the last time
this got run?

MozReview-Commit-ID: IA2G87zUIKN
This commit is contained in:
Boris Zbarsky
2018-03-16 11:26:06 -04:00
parent 4f8ec3af2d
commit 051041fc49
80 changed files with 12758 additions and 5466 deletions

View File

@@ -399,7 +399,6 @@ nsHtml5TreeBuilder::characters(const char16_t* buf,
continue;
}
}
MOZ_FALLTHROUGH_ASSERT("unreachable");
}
default: {
switch (mode) {
@@ -2406,8 +2405,8 @@ nsHtml5TreeBuilder::endTag(nsHtml5ElementName* elementName)
for (;;) {
if (!eltPos) {
MOZ_ASSERT(fragment,
"We can get this close to the root of the stack in "
"foreign content only in the fragment case.");
"We can get this close to the root of the stack "
"in foreign content only in the fragment case.");
NS_HTML5_BREAK(endtagloop);
}
if (stack[eltPos]->name == name) {