mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
Backed out changeset fc9cb1d32e78 (bug 1851327) for causing bc failures @ browser_readerMode_textLayoutPref.js CLOSED TREE
This commit is contained in:
parent
f0c1e8e04f
commit
c52c245cd2
@ -1059,12 +1059,18 @@ AboutReader.prototype = {
|
||||
if (newFontType === "sans-serif") {
|
||||
this._doc.documentElement.style.setProperty(
|
||||
"--font-family",
|
||||
"sans-serif"
|
||||
"Helvetica, Arial, sans-serif"
|
||||
);
|
||||
} else if (newFontType === "serif") {
|
||||
this._doc.documentElement.style.setProperty("--font-family", "serif");
|
||||
this._doc.documentElement.style.setProperty(
|
||||
"--font-family",
|
||||
'Georgia, "Times New Roman", serif'
|
||||
);
|
||||
} else if (newFontType === "monospace") {
|
||||
this._doc.documentElement.style.setProperty("--font-family", "monospace");
|
||||
this._doc.documentElement.style.setProperty(
|
||||
"--font-family",
|
||||
'"Courier New", Courier, monospace'
|
||||
);
|
||||
} else {
|
||||
this._doc.documentElement.style.setProperty(
|
||||
"--font-family",
|
||||
|
@ -21,7 +21,7 @@
|
||||
--word-spacing: 0;
|
||||
--letter-spacing: 0;
|
||||
--font-weight: normal;
|
||||
--font-family: sans-serif;
|
||||
--font-family: Helvetica, Arial, sans-serif;
|
||||
--block-img-margin-left: unset;
|
||||
--block-img-margin-right: unset;
|
||||
}
|
||||
@ -240,11 +240,11 @@ body {
|
||||
}
|
||||
|
||||
body.sans-serif {
|
||||
font-family: sans-serif;
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
body.serif {
|
||||
font-family: serif;
|
||||
font-family: Georgia, "Times New Roman", serif;
|
||||
}
|
||||
|
||||
/* Override some controls and content styles based on color scheme */
|
||||
@ -308,7 +308,7 @@ blockquote {
|
||||
font-size: 0.9em;
|
||||
line-height: 1.48em;
|
||||
padding-bottom: 4px;
|
||||
font-family: sans-serif;
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
text-decoration: underline var(--main-foreground) !important;
|
||||
color: var(--link-foreground);
|
||||
}
|
||||
@ -672,7 +672,7 @@ button:disabled {
|
||||
}
|
||||
|
||||
.sans-serif-button {
|
||||
font-family: sans-serif;
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
background-image: url("chrome://global/skin/reader/RM-Sans-Serif.svg");
|
||||
}
|
||||
|
||||
@ -682,7 +682,7 @@ button:disabled {
|
||||
}
|
||||
|
||||
.serif-button {
|
||||
font-family: serif;
|
||||
font-family: Georgia, "Times New Roman", serif;
|
||||
background-image: url("chrome://global/skin/reader/RM-Serif.svg");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user