Bug 1242251 - More stylesheet link removal. r=Fallen
authorRichard Marti <richard.marti@gmail.com>
Sat, 16 Jan 2016 20:46:00 +0100
changeset 24429 e8a311fcbd37114cd7d0372bd95ae5fdbe9727c2
parent 24428 efbcfcec00d35ff62239d67d58a554b3f6c082b8
child 24430 2261194c0beb74d174655f042333c1b92d01a6ae
push id1623
push userclokep@gmail.com
push dateMon, 25 Apr 2016 14:53:28 +0000
treeherdercomm-beta@25267c20666e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersFallen
bugs1242251
Bug 1242251 - More stylesheet link removal. r=Fallen
calendar/base/content/calendar-task-view.xul
calendar/lightning/content/imip-bar-overlay.xul
calendar/lightning/content/lightning-toolbar.xul
mail/base/content/search.xml
mail/components/im/content/chat-messenger-overlay.xul
mail/components/im/content/imconversation.xml
--- a/calendar/base/content/calendar-task-view.xul
+++ b/calendar/base/content/calendar-task-view.xul
@@ -1,18 +1,16 @@
 <?xml version="1.0"?>
 <!-- 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/. -->
 
 <?xml-stylesheet type="text/css" href="chrome://calendar/skin/calendar-task-view.css"?>
 <?xml-stylesheet type="text/css" href="chrome://calendar/content/calendar-bindings.css"?>
 
-<?xml-stylesheet type="text/css" href="chrome://messenger/skin/messageHeader.css"?>
-
 <!DOCTYPE overlay [
   <!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd1;
   <!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/calendar-event-dialog.dtd" > %dtd2;
   <!ENTITY % dtd3 SYSTEM "chrome://calendar/locale/menuOverlay.dtd" > %dtd3;
 ]>
 
 <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <script type="application/javascript" src="chrome://calendar/content/calendar-task-tree.js"/>
--- a/calendar/lightning/content/imip-bar-overlay.xul
+++ b/calendar/lightning/content/imip-bar-overlay.xul
@@ -3,21 +3,16 @@
    - 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/. -->
 
 <!DOCTYPE overlay [
     <!ENTITY % lightningDTD SYSTEM "chrome://lightning/locale/lightning.dtd">
     %lightningDTD;
 ]>
 
-<!-- Use the Thunderbird Notification bar style for our iMIP warning -->
-<?xml-stylesheet href="chrome://messenger/skin/primaryToolbar.css" type="text/css"?>
-<?xml-stylesheet href="chrome://messenger/skin/messageHeader.css" type="text/css"?>
-
-<?xml-stylesheet href="chrome://lightning/skin/lightning.css" type="text/css"?>
 <?xml-stylesheet href="chrome://lightning/content/lightning-widgets.css" type="text/css"?>
 
 <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <script type="application/javascript"
             src="chrome://lightning/content/lightning-utils.js"/>
     <script type="application/javascript"
             src="chrome://calendar/content/calUtils.js"/>
--- a/calendar/lightning/content/lightning-toolbar.xul
+++ b/calendar/lightning/content/lightning-toolbar.xul
@@ -8,17 +8,16 @@
   <!ENTITY % mailOverlayDTD SYSTEM "chrome://messenger/locale/mailOverlay.dtd"> %mailOverlayDTD;
   <!ENTITY % menuOverlayDTD SYSTEM "chrome://calendar/locale/menuOverlay.dtd" > %menuOverlayDTD;
   <!ENTITY % lightningDTD SYSTEM "chrome://lightning/locale/lightning.dtd"> %lightningDTD;
   <!ENTITY % calendarDTD SYSTEM "chrome://calendar/locale/calendar.dtd" > %calendarDTD;
   <!ENTITY % toolbarDTD SYSTEM "chrome://lightning/locale/lightning-toolbar.dtd" > %toolbarDTD;
   <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" > %brandDTD;
 ]>
 
-<?xml-stylesheet href="chrome://lightning/skin/lightning.css" type="text/css"?>
 <?xml-stylesheet href="chrome://lightning/skin/lightning-toolbar.css" type="text/css"?>
 
 <overlay id="ltnToolbarOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <popupset id="calendar-popupset">
     <menupopup id="calendar-toolbar-context"
                onpopupshowing="onViewToolbarsPopupShowing(event, ['navigation-toolbox', 'calendar-toolbox']);">
       <menuseparator id="customizeCalendarToolbarMenuSeparator"/>
       <menuitem id="CustomizeCalendarToolbar"
--- a/mail/base/content/search.xml
+++ b/mail/base/content/search.xml
@@ -26,19 +26,16 @@
     - This widget used to have many weird implementation nuances.  Now we are
     -  just a little bit of extra stuff on top of the toolkit autocomplete
     -  implementation.  Our deviations are:
     -  - We collapse ourselves when gloda is disabled; we track the state.
     -  -
     -->
   <binding id="glodaSearch"
            extends="chrome://global/content/bindings/autocomplete.xml#autocomplete">
-    <resources>
-      <stylesheet src="chrome://messenger/skin/searchBox.css"/>
-    </resources>
 
     <handlers>
       <handler event="drop" phase="capturing"><![CDATA[
         nsDragAndDrop.drop(event, this.searchInputDNDObserver);
       ]]></handler>
 
       <handler event="keypress" keycode="VK_RETURN"><![CDATA[
         this.doSearch();
--- a/mail/components/im/content/chat-messenger-overlay.xul
+++ b/mail/components/im/content/chat-messenger-overlay.xul
@@ -1,14 +1,13 @@
 <?xml version="1.0"?>
 <!-- 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/. -->
 
-<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
 <?xml-stylesheet href="chrome://messenger/content/chat/chat.css" type="text/css"?>
 <?xml-stylesheet href="chrome://messenger/skin/chat.css" type="text/css"?>
 
 <!DOCTYPE overlay [
   <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
   %brandDTD;
   <!ENTITY % chatDTD SYSTEM "chrome://messenger/locale/chat.dtd">
   %chatDTD;
--- a/mail/components/im/content/imconversation.xml
+++ b/mail/components/im/content/imconversation.xml
@@ -10,19 +10,16 @@
 ]>
 
 <bindings id="conversationBindings"
           xmlns="http://www.mozilla.org/xbl"
           xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
           xmlns:xbl="http://www.mozilla.org/xbl">
 
   <binding id="conversation">
-    <resources>
-      <stylesheet src="chrome://messenger/skin/chat.css"/>
-    </resources>
     <content>
       <xul:vbox class="convBox" flex="1">
         <xul:hbox class="conv-top" flex="1" anonid="conv-top">
           <xul:notificationbox class="conv-messages" anonid="convNotificationBox" flex="1" xbl:inherits="chat">
             <xul:vbox flex="1">
               <xul:browser anonid="browser" type="content-conversation" flex="1"
                            xbl:inherits="tooltip=contenttooltip,contextmenu=contentcontextmenu,autoscrollpopup"/>
               <xul:progressmeter anonid="browserProgress" hidden="true"/>