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

@@ -2,10 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsHtml5ViewSourceUtils.h"
#include "nsHtml5AttributeName.h"
#include "mozilla/Preferences.h"
#include "nsHtml5AttributeName.h"
#include "nsHtml5String.h"
// static
@@ -62,7 +61,8 @@ nsHtml5ViewSourceUtils::NewMetaViewportAttributes()
nsHtml5HtmlAttributes* metaVpAttrs = new nsHtml5HtmlAttributes(0);
nsHtml5String name = nsHtml5Portability::newStringFromLiteral("viewport");
metaVpAttrs->addAttribute(nsHtml5AttributeName::ATTR_NAME, name, -1);
nsHtml5String content = nsHtml5Portability::newStringFromLiteral("width=device-width");
nsHtml5String content =
nsHtml5Portability::newStringFromLiteral("width=device-width");
metaVpAttrs->addAttribute(nsHtml5AttributeName::ATTR_CONTENT, content, -1);
return metaVpAttrs;
}