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:
Dão Gottwald 2022-08-17 16:50:54 +00:00
Родитель 4cbfcb0b8b
Коммит 8dc7f68beb
3 изменённых файлов: 2 добавлений и 12 удалений

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

@ -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;
}