Bug 1697433 - Share XUL iframe global.css styling. r=desktop-theme-reviewers,dao

Differential Revision: https://phabricator.services.mozilla.com/D107799
This commit is contained in:
Tim Nguyen 2021-03-10 12:37:21 +00:00
Родитель 25a83eafa2
Коммит 2faee3fa51
4 изменённых файлов: 18 добавлений и 54 удалений

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

@ -56,24 +56,6 @@
list-style-image: url("chrome://global/skin/icons/Authentication.png");
}
/* ::::: iframe ::::: */
xul|iframe {
border: none;
width: 100px;
height: 100px;
min-width: 10px;
min-height: 10px;
}
@supports -moz-bool-pref("layout.css.emulate-moz-box-with-flex") {
/* In emulation, <iframe> is block instead of inline, so reset the width/height */
xul|iframe {
width: auto;
height: auto;
}
}
/* XXX(ntim): [mode="text"] is only used by comm-central */
xul|toolbar[mode="text"] .toolbarbutton-text {

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

@ -55,24 +55,6 @@
list-style-image: url("chrome://global/skin/icons/question-64.png");
}
/* ::::: iframe ::::: */
xul|iframe {
border: none;
width: 100px;
height: 100px;
min-width: 10px;
min-height: 10px;
}
@supports -moz-bool-pref("layout.css.emulate-moz-box-with-flex") {
/* In emulation, <iframe> is block instead of inline, so reset the width/height */
xul|iframe {
width: auto;
height: auto;
}
}
/* Separators */
xul|separator:not([orient="vertical"]) {

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

@ -48,6 +48,24 @@ html|textarea {
padding: 5px;
}
/* XUL iframe */
xul|iframe {
border: none;
width: 100px;
height: 100px;
min-width: 10px;
min-height: 10px;
}
@supports -moz-bool-pref("layout.css.emulate-moz-box-with-flex") {
/* In emulation, <iframe> is block instead of inline, so reset the width/height */
xul|iframe {
width: auto;
height: auto;
}
}
/* Label/description formatting */
xul|description,

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

@ -110,24 +110,6 @@
fill-opacity: 0.8;
}
/* ::::: iframe ::::: */
xul|iframe {
border: none;
width: 100px;
height: 100px;
min-width: 10px;
min-height: 10px;
}
@supports -moz-bool-pref("layout.css.emulate-moz-box-with-flex") {
/* In emulation, <iframe> is block instead of inline, so reset the width/height */
xul|iframe {
width: auto;
height: auto;
}
}
/* XXX(ntim): [mode="text"] is only used by comm-central */
xul|toolbar[mode="text"] .toolbarbutton-text {