Strangely enough, I have noticed a new issue with Firefox (16.0.1) recently. It seems that there is an extra white pixel row appearing within elements that have a border-radius set. This problem may have started after an update.
I have tried adjusting various properties like line-height and overflow, but nothing seems to resolve the issue. Interestingly, I cannot replicate the problem outside of the framework where these buttons are rendered. Despite disabling my CSS reset and other values in Firebug, the problem persists.
Since I am unable to reproduce it, I have created a visual demonstration showing the problem:
Has anyone else experienced this issue before and found a solution?
Edit: Upon further observation, I have also noticed that other elements, including inputs, are displaying incorrectly. Even setting the line-height for inputs does not fix the problem. Refer to the additional graphic below:
Below is the CSS tree for the input field shown in the second graphic:
.dynamicForm-componentEdit .componentLabel input.long {
width: 320px;
}
.dynamicForm-componentEdit .componentSettings textarea, .dynamicForm-componentEdit .componentLabel textarea, .dynamicForm-componentEdit .componentSettings input, .dynamicForm-componentEdit .componentLabel input {
background: -moz-linear-gradient(center top , #FFFFFF 0%, #FAFAFA 100%) repeat scroll 0 0 transparent;
border: 1px solid #CDCDCD;
border-radius: 6px 6px 6px 6px;
color: #666666;
font-size: 10px;
height: 12px;
line-height: 20px;
margin-bottom: 4px;
margin-right: 8px;
margin-top: 4px;
padding: 2px 6px;
width: 130px;
}
input {
font-family: Helvetica,Arial,Verdana;
outline: 0 none;
}
* {
margin: 0;
padding: 0;
}
.dynamicForm-componentEdit {
color: #AAAAAA;
}
.interfaceBlock-content {
color: #666666;
font-family: Verdana;
font-size: 11px;
}
body {
color: #333333;
font-family: Helvetica,Arial,Verdana,Geneva;
font-size: 13px;
font-weight: 500;
line-height: 16px;
text-align: left;
}
Edit #2: The issue appears to be linked to CSS3 gradients. By changing the CSS from:
background: -moz-linear-gradient(center top , #F7F7F7 0%, #E5E5E5 100%) repeat scroll 0 0 transparent;
to:
background: none repeat scroll 0 0 #DDDDDD;
Refer to this graphic:
The problem disappears when using a regular background!