Bug 1365896 - Set -moz-appearance to none on in-content xul|checkbox and xul|radio, r=jaws

This patch should not result any visual differences. Rather, it makes
nsTextPaintStyle::InitCommonColors() think the checkboxes and radio
buttons are not themed and it should calculate contrast properly.

MozReview-Commit-ID: LF1bQQE1V9X

--HG--
extra : rebase_source : 38c04fa02c97779b60ca55697bc1ecbc37556d1b
This commit is contained in:
Timothy Guan-tin Chien 2017-05-19 13:57:59 +08:00
Родитель d7dafa6ace
Коммит bd12627a6e
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -517,6 +517,7 @@ html|a:hover:active,
xul|checkbox {
margin-inline-start: 0;
-moz-appearance: none;
}
xul|*.checkbox-check,
@ -564,6 +565,7 @@ html|*.toggle-container-with-text {
xul|radio {
margin-inline-start: 0;
-moz-appearance: none;
}
xul|*.radio-check {