| Summary: | Problem with height of elements in Firefox | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ilya Bochkarev <tesei7> | ||||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | tbuschto, tesei7 | ||||||||
| Version: | 2.0 | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 7 | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Ilya Bochkarev
Yes, firefox seems to add one px to the input elements height, but the widget size itself is not changed by that, and the text is still centered correctly. So how does this cause your widgets to look "weird", and what does "weird" mean exactly? Can you give a screenshot and/or example project? Created attachment 228832 [details]
date widget in chrome
Created attachment 228833 [details]
date widget in firefox
Created attachment 228835 [details]
datetime widget in firefox2
Height of DateTime-Field div in Firefox is 18px, while in other browsers is 16px.
my css styles are:
* {
font: 13px Calibri, Arial, sans-serif;
}
...
/* DateTime */
DateTime {
background-image: gradient(linear, left top, left bottom, from(#dddbd1),
color-stop(40%, #ffffff), to(#ffffff) );
border-radius: 0px;
color: #333333;
}
DateTime[BORDER]:focused {
border: 1px solid #ffae00;
}
DateTime:disabled {
color: #999999;
}
DateTime-Field {
border-radius: 0px;
padding: 2px 3px 1px 3px;
background-color: transparent;
}
DateTime-Field:selected {
background-color: #862012;
color: white;
}
...
Using images for DateTime drop-down button background is not a good idea. Use background gradient instead. Another possible solution will be to add support for background-position/background-repeat to DateTime-DropDownButton element (or other). I will close it as WONTFIX. Please reopen if you disagree. |