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:
Stephen A Pohl 2020-10-07 17:13:16 +00:00
Родитель a576962a26
Коммит 12750afc8e
5 изменённых файлов: 18 добавлений и 2 удалений

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

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