Bug 1472616 - Import all the static browser stylesheets from "browser-window.css". r=dao

This prevents a specific failure in the "browser_startup_flicker.js" test on Windows 10 only, surfaced by bug 1421433. The compact theme stylesheet is kept separate because it can be disabled independently.

MozReview-Commit-ID: 3WDkrYqZtqN

--HG--
extra : rebase_source : d4c98fb5c5f2f5ce7170ddf0592b99ca18254058
This commit is contained in:
Paolo Amadini 2018-07-02 08:44:54 +01:00
parent 7842ca58ca
commit cd89e744c5
3 changed files with 18 additions and 12 deletions

View File

@ -0,0 +1,16 @@
/* 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/. */
@import url("chrome://browser/content/browser.css");
@import url("chrome://browser/content/downloads/downloads.css");
@import url("chrome://browser/content/places/places.css");
@import url("chrome://browser/content/usercontext/usercontext.css");
@import url("chrome://browser/skin/controlcenter/panel.css");
@import url("chrome://browser/skin/customizableui/panelUI.css");
@import url("chrome://browser/skin/downloads/downloads.css");
@import url("chrome://browser/skin/searchbar.css");
@import url("chrome://browser/skin/places/places.css");
@import url("chrome://browser/skin/places/editBookmark.css");
@import url("chrome://browser/skin/");
@import url("chrome://browser/content/tabbrowser.css");

View File

@ -6,18 +6,7 @@
# 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://browser/content/browser.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/downloads/downloads.css"?>
<?xml-stylesheet href="chrome://browser/content/places/places.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/usercontext/usercontext.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/controlcenter/panel.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/customizableui/panelUI.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/downloads/downloads.css"?>
<?xml-stylesheet href="chrome://browser/skin/searchbar.css"?>
<?xml-stylesheet href="chrome://browser/skin/places/places.css"?>
<?xml-stylesheet href="chrome://browser/skin/places/editBookmark.css"?>
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/tabbrowser.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/browser-window.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/compacttheme.css" type="text/css" alternate="yes" title="Light/Dark"?>
# All DTD information is stored in a separate file so that it can be shared by

View File

@ -55,6 +55,7 @@ browser.jar:
content/browser/browser-thumbnails.js (content/browser-thumbnails.js)
content/browser/browser-trackingprotection.js (content/browser-trackingprotection.js)
content/browser/browser-webrender.js (content/browser-webrender.js)
content/browser/browser-window.css (content/browser-window.css)
content/browser/tab-content.js (content/tab-content.js)
content/browser/content.js (content/content.js)
content/browser/defaultthemes/1.header.jpg (content/defaultthemes/1.header.jpg)