зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1656004: Change padding for option to match the non-native theming spec. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D85303
This commit is contained in:
Родитель
a576962a26
Коммит
12750afc8e
|
@ -7,6 +7,10 @@
|
|||
<style>
|
||||
select {
|
||||
color: transparent;
|
||||
/* We make scrollbars transparent because some <option> elements can cause
|
||||
overflow, which can cause scrollbars to be active in the test and
|
||||
inactive in the reference. But the test only cares about the sizing. */
|
||||
scrollbar-color: transparent transparent;
|
||||
}
|
||||
.fsMedium {
|
||||
/* custom styling for some select elements, which is allowed to influence
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
select {
|
||||
contain: size;
|
||||
color: transparent;
|
||||
/* We make scrollbars transparent because some <option> elements can cause
|
||||
overflow, which can cause scrollbars to be active in the test and
|
||||
inactive in the reference. But the test only cares about the sizing. */
|
||||
scrollbar-color: transparent transparent;
|
||||
}
|
||||
.fsMedium {
|
||||
/* custom styling for some select elements, which is allowed to influence
|
||||
|
|
|
@ -321,6 +321,7 @@ option {
|
|||
float: none !important;
|
||||
position: static !important;
|
||||
min-block-size: 1em;
|
||||
padding-block: 2px;
|
||||
/*
|
||||
* Note that the "UA !important" tests in
|
||||
* layout/style/test/test_animations.html depend on this rule, because
|
||||
|
@ -336,8 +337,7 @@ option {
|
|||
}
|
||||
|
||||
select > option {
|
||||
padding-block: 0;
|
||||
padding-inline: 3px 5px;
|
||||
padding-inline: 4px;
|
||||
}
|
||||
|
||||
option:checked {
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
<style>
|
||||
select {
|
||||
color: transparent;
|
||||
/* We make scrollbars transparent because some <option> elements can cause
|
||||
overflow, which can cause scrollbars to be active in the test and
|
||||
inactive in the reference. But the test only cares about the sizing. */
|
||||
scrollbar-color: transparent transparent;
|
||||
}
|
||||
.fsMedium {
|
||||
/* custom styling for some select elements, which is allowed to influence
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
select {
|
||||
contain: size;
|
||||
color: transparent;
|
||||
/* We make scrollbars transparent because some <option> elements can cause
|
||||
overflow, which can cause scrollbars to be active in the test and
|
||||
inactive in the reference. But the test only cares about the sizing. */
|
||||
scrollbar-color: transparent transparent;
|
||||
}
|
||||
.fsMedium {
|
||||
/* custom styling for some select elements, which is allowed to influence
|
||||
|
|
Загрузка…
Ссылка в новой задаче