diff --git a/browser/base/content/browser.css b/browser/base/content/browser.css
index 411f850c9323..af7753fab03f 100644
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -4,6 +4,7 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
+@namespace svg url("http://www.w3.org/2000/svg");
#main-window:not([chromehidden~="toolbar"]) {
%ifdef XP_MACOSX
diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul
index 7d211ccabdd0..fb908c3946cb 100644
--- a/browser/base/content/browser.xul
+++ b/browser/base/content/browser.xul
@@ -404,14 +404,9 @@
-
-#ifdef XP_UNIX
- &syncStartPanel.subTitleUnix;
-#else
- &syncStartPanel.subTitle;
-#endif
-
+ value="&syncStartPanel2.heading;"/>
+
diff --git a/browser/base/content/highlighter.css b/browser/base/content/highlighter.css
index 6b9f5d27e4a6..cb29d4119626 100644
--- a/browser/base/content/highlighter.css
+++ b/browser/base/content/highlighter.css
@@ -6,25 +6,15 @@
pointer-events: none;
}
-.highlighter-outline-container {
- overflow: hidden;
- position: relative;
-}
-
-.highlighter-outline {
- position: absolute;
-}
-
-.highlighter-outline[hidden] {
- opacity: 0;
- pointer-events: none;
- display: -moz-box;
-}
-
-.highlighter-outline:not([disable-transitions]) {
- transition-property: opacity, top, left, width, height;
- transition-duration: 0.1s;
- transition-timing-function: linear;
+/*
+ * Box model highlighter
+ */
+svg|svg.box-model-root[hidden],
+svg|line.box-model-guide-top[hidden],
+svg|line.box-model-guide-right[hidden],
+svg|line.box-model-guide-left[hidden],
+svg|line.box-model-guide-bottom[hidden] {
+ display: none;
}
/*
@@ -45,13 +35,6 @@
display: -moz-box;
}
-.highlighter-nodeinfobar-positioner:not([disable-transitions]),
-.highlighter-nodeinfobar-positioner[disable-transitions][force-transitions] {
- transition-property: transform, opacity, top, left;
- transition-duration: 0.1s;
- transition-timing-function: linear;
-}
-
.highlighter-nodeinfobar-text {
overflow: hidden;
white-space: nowrap;
diff --git a/browser/base/content/socialmarks.xml b/browser/base/content/socialmarks.xml
index 60baee9fd737..5ca27a42f159 100644
--- a/browser/base/content/socialmarks.xml
+++ b/browser/base/content/socialmarks.xml
@@ -220,10 +220,11 @@
}
if (aResetOnClose) {
let evName = inMenuPanel ? "ViewHiding": "popuphidden";
- panel.addEventListener(evName, function _hidden() {
+ let _hidden = () => {
panel.removeEventListener(evName, _hidden);
this.update();
- }.bind(this), false);
+ };
+ panel.addEventListener(evName, _hidden, false);
}
]]>