summaryrefslogtreecommitdiff
path: root/dom/base/Element.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-09-23 13:55:00 +0000
committerMoonchild <moonchild@palemoon.org>2020-09-23 13:55:00 +0000
commita680bdc637e0393aaa08d575c66f7166b788b443 (patch)
treeb76060239e018ba6f069207b17ba6b5dd9fb83fa /dom/base/Element.cpp
parentc14e7d70fccb6f945c828fe32dd6462c677d2024 (diff)
downloaduxp-a680bdc637e0393aaa08d575c66f7166b788b443.tar.gz
Issue #1656 - Part 1: Nuke most vim config lines in the tree.
Since these are just interpreted comments, there's 0 impact on actual code. This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are a few others scattered around which will be removed manually in a second part.
Diffstat (limited to 'dom/base/Element.cpp')
-rw-r--r--dom/base/Element.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/dom/base/Element.cpp b/dom/base/Element.cpp
index 8e9225a641..a9850a9aeb 100644
--- a/dom/base/Element.cpp
+++ b/dom/base/Element.cpp
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* 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/. */
@@ -1070,7 +1069,7 @@ ShadowRoot*
Element::GetShadowRootByMode() const
{
/**
- * 1. Let shadow be context object’s shadow root.
+ * 1. Let shadow be context object???s shadow root.
* 2. If shadow is null or its mode is "closed", then return null.
*/
ShadowRoot* shadowRoot = GetShadowRoot();
@@ -1089,7 +1088,7 @@ already_AddRefed<ShadowRoot>
Element::AttachShadow(const ShadowRootInit& aInit, ErrorResult& aError)
{
/**
- * 1. If context object’s namespace is not the HTML namespace,
+ * 1. If context object???s namespace is not the HTML namespace,
* then throw a "NotSupportedError" DOMException.
*/
if (!IsHTMLElement()) {
@@ -1098,7 +1097,7 @@ Element::AttachShadow(const ShadowRootInit& aInit, ErrorResult& aError)
}
/**
- * 2. If context object’s local name is not
+ * 2. If context object???s local name is not
* a valid custom element name, "article", "aside", "blockquote",
* "body", "div", "footer", "h1", "h2", "h3", "h4", "h5", "h6",
* "header", "main" "nav", "p", "section", or "span",
@@ -1182,8 +1181,8 @@ Element::AttachShadowInternal(bool aClosed, ErrorResult& aError)
/**
* 4. Let shadow be a new shadow root whose node document is
- * context object’s node document, host is context object,
- * and mode is init’s mode.
+ * context object???s node document, host is context object,
+ * and mode is init???s mode.
*/
RefPtr<ShadowRoot> shadowRoot =
new ShadowRoot(this, aClosed, nodeInfo.forget(), protoBinding);
@@ -1191,7 +1190,7 @@ Element::AttachShadowInternal(bool aClosed, ErrorResult& aError)
shadowRoot->SetIsComposedDocParticipant(IsInComposedDoc());
/**
- * 5. Set context object’s shadow root to shadow.
+ * 5. Set context object???s shadow root to shadow.
*/
SetShadowRoot(shadowRoot);