Backed out changeset 76efdf921d79 (bug 1088305) for ES Failures

This commit is contained in:
Carsten "Tomcat" Book 2016-10-10 15:27:54 +02:00
Родитель f0c85903aa
Коммит 7a883ab1b4
2 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -13,7 +13,6 @@ const DEFAULT_PREVIEW_TEXT = "Abc";
const PREVIEW_UPDATE_DELAY = 150;
const {Task} = require("devtools/shared/task");
const {getColor} = require("devtools/client/shared/theme");
function FontInspector(inspector, window) {
this.inspector = inspector;
@ -162,10 +161,14 @@ FontInspector.prototype = {
this._lastUpdateShowedAllFonts = showAllFonts;
// Assume light theme colors as the default (see also bug 1118179).
let fillStyle = (Services.prefs.getCharPref("devtools.theme") == "dark") ?
"white" : "black";
let options = {
includePreviews: true,
previewText: this.getPreviewText(),
previewFillStyle: getColor("body-color")
previewFillStyle: fillStyle
};
let fonts = [];

Просмотреть файл

@ -16,8 +16,7 @@ const variableFileContents = require("raw!devtools/client/themes/variables.css")
const THEME_SELECTOR_STRINGS = {
light: ":root.theme-light {",
dark: ":root.theme-dark {",
firebug: ":root.theme-firebug {"
dark: ":root.theme-dark {"
};
/**