Bug 1009714: Fix <button disabled> style on B2G. r=dholbert

This commit is contained in:
Arnaud Bienner 2014-05-14 23:42:03 +02:00
Родитель 8de8c6e2ae
Коммит 78e74640b8
2 изменённых файлов: 2 добавлений и 4 удалений

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

@ -259,7 +259,7 @@ select[size="1"][disabled] {
input[type="button"][disabled],
input[type="submit"][disabled],
input[type="reset"][disabled],
button[disabled="true"] {
button[disabled] {
padding: 0 7px 0 7px;
background: transparent linear-gradient(rgba(255,255,255,0.4) 0, rgba(235,235,235,0.4) 3px, rgba(185,185,185,0.4) 100%);
}

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

@ -21,9 +21,7 @@ fuzzy-if(B2G||Android,125,80) == percent-width-child-2.html percent-width-child
# Looks like Android and B2G change the text color, but to something slightly
# different from ColorGray
fails-if(Android||B2G) == disabled-1.html disabled-1-ref.html
# While disabled buttons don't look like non-disabled buttons, <button disabled>
# is different from other disabled buttons for B2G ICS Emulator (see bug 1009714)
fails-if(B2G) == disabled-2.html disabled-2-ref.html
== disabled-2.html disabled-2-ref.html
!= disabled-3.html disabled-3-notref.html
!= disabled-4.html disabled-4-notref.html