Bug 947718 - Work around bug 946184 for Aurora. r=bz

This commit is contained in:
Jonathan Watt 2013-12-08 21:27:28 +00:00
parent a3c13c7210
commit b9c0b3f28e
3 changed files with 7 additions and 0 deletions

View File

@ -284,6 +284,7 @@ textarea:active {
background-color: rgba(141, 184, 216, 0.5);
}
input[type=number] > div > div, /* work around bug 946184 */
input[type=number]::-moz-number-spin-box {
display: none;
}

View File

@ -892,6 +892,7 @@ input[type="number"] {
width: 149px; /* to match type=text */
}
input[type=number] > div, /* work around bug 946184 */
input[type=number]::-moz-number-wrapper {
/* Prevent styling that would change the type of frame we construct. */
display: flex;
@ -900,6 +901,7 @@ input[type=number]::-moz-number-wrapper {
height: 100%;
}
input[type=number] > div > input, /* work around bug 946184 */
input[type=number]::-moz-number-text {
-moz-appearance: none;
/* work around autofocus bug 939248 on initial load */
@ -917,6 +919,7 @@ input[type=number]::-moz-number-text {
margin: 0;
}
input[type=number] > div > div, /* work around bug 946184 */
input[type=number]::-moz-number-spin-box {
display: flex;
flex-direction: column;
@ -931,6 +934,7 @@ input[type=number]::-moz-number-spin-box {
justify-content: center;
}
input[type=number] > div > div > div:first-child, /* work around bug 946184 */
input[type=number]::-moz-number-spin-up {
-moz-appearance: spinner-upbutton;
display: block; /* bug 926670 */
@ -946,6 +950,7 @@ input[type=number]::-moz-number-spin-up {
border-top-right-radius: 4px;
}
input[type=number] > div > div > div:not(:first-child), /* work around bug 946184 */
input[type=number]::-moz-number-spin-down {
-moz-appearance: spinner-downbutton;
display: block; /* bug 926670 */

View File

@ -309,6 +309,7 @@ xul|menulist:active {
background-color: @color_background_highlight_overlay@;
}
input[type=number] > div > div, /* work around bug 946184 */
input[type=number]::-moz-number-spin-box {
display: none;
}