Bug 1317101 - Part 3: Apply remote-browser binding to all remote="true" <browser>s. r=billm
authorKris Maglione <maglione.k@gmail.com>
Tue, 15 Nov 2016 15:11:27 -0800
changeset 323240 6d40ef9db8cef4da9899dcac38e5f0e3b4cbba6d
parent 323239 723511df403369d6715d8bee11bcfe919826e141
child 323241 67e3dc5de89c4b135ff39916f3369028682fe822
push id21
push usermaklebus@msu.edu
push dateThu, 01 Dec 2016 06:22:08 +0000
reviewersbillm
bugs1317101
milestone53.0a1
Bug 1317101 - Part 3: Apply remote-browser binding to all remote="true" <browser>s. r=billm MozReview-Commit-ID: 83sNFdLM4W7
browser/base/content/browser.css
mobile/android/chrome/content/browser.css
toolkit/components/viewsource/content/viewSource.css
toolkit/content/xul.css
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -90,20 +90,16 @@ panelview {
   transition: transform var(--panelui-subview-transition-duration);
 }
 
 panelview:not([mainview]):not([current]) {
   transition: visibility 0s linear var(--panelui-subview-transition-duration);
   visibility: collapse;
 }
 
-browser[frameType="social"][remote="true"] {
-  -moz-binding: url("chrome://global/content/bindings/remote-browser.xml#remote-browser");
-}
-
 tabbrowser {
   -moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser");
 }
 
 .tabbrowser-tabs {
   -moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-tabs");
 }
 
--- a/mobile/android/chrome/content/browser.css
+++ b/mobile/android/chrome/content/browser.css
@@ -1,7 +1,4 @@
 /* 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/. */
 
-browser[remote="true"] {
-  -moz-binding: url("chrome://global/content/bindings/remote-browser.xml#remote-browser");
-}
\ No newline at end of file
--- a/toolkit/components/viewsource/content/viewSource.css
+++ b/toolkit/components/viewsource/content/viewSource.css
@@ -1,11 +1,7 @@
 /* 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/. */
 
 toolbar[printpreview="true"] {
   -moz-binding: url("chrome://global/content/printPreviewBindings.xml#printpreviewtoolbar");
 }
-
-browser[remote="true"] {
-  -moz-binding: url("chrome://global/content/bindings/remote-browser.xml#remote-browser");
-}
\ No newline at end of file
--- a/toolkit/content/xul.css
+++ b/toolkit/content/xul.css
@@ -163,16 +163,20 @@ editor,
 iframe {
   display: inline;
 }
 
 browser {
   -moz-binding: url("chrome://global/content/bindings/browser.xml#browser");
 }
 
+browser[remote=true] {
+  -moz-binding: url("chrome://global/content/bindings/remote-browser.xml#remote-browser");
+}
+
 editor {
   -moz-binding: url("chrome://global/content/bindings/editor.xml#editor");
 }
 
 iframe {
   -moz-binding: url("chrome://global/content/bindings/general.xml#iframe");
 }