зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1784891 - Consolidate document font-size set by common-shared.css. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D154775
This commit is contained in:
Родитель
4cbfcb0b8b
Коммит
8dc7f68beb
|
@ -2,12 +2,6 @@
|
|||
- 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/. */
|
||||
|
||||
:root {
|
||||
/* FIXME bug 1784891: This duplicates the font-size set in common-shared.css,
|
||||
* as that stylesheet sets the font size only for HTML documents. */
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
window,
|
||||
dialog {
|
||||
appearance: none;
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
aria-describedby="infoBody"
|
||||
headerparent="dialogGrid"
|
||||
class="system-font-size"
|
||||
onunload="commonDialogOnUnload();">
|
||||
<dialog id="commonDialog"
|
||||
buttonpack="end">
|
||||
|
|
|
@ -264,12 +264,7 @@
|
|||
color: var(--in-content-page-color);
|
||||
}
|
||||
|
||||
/* FIXME bug 1784891: For historical reasons, we hardcode a font-size only for
|
||||
* HTML root nodes. XUL root nodes using this stylesheet get their font-size
|
||||
* from `font: message-box` above. Having the choice of markup language affect
|
||||
* the font-size like this seems arbitrary, so we should probably consolidate
|
||||
* this at some point. */
|
||||
html:root {
|
||||
:root:not(.system-font-size) {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче