Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upText within input with box-sizing: border-box is not positioned correctly #11528
Comments
ocerman
commented
May 31, 2016
|
|
|
It's not yet clear to me whether this is another instance of our form-related CSS rules not overriding enough properties, or whether this is a bug in our layout implementation. |
|
Ok, it seems like there are 2 issues:
I will rename this issue to original name - that's describing 2), which seems to be core of this problem. |
|
Please do! |
|
That's strange. I've tested that on multiple browsers in Windows (including FF 46.0.1) and they render that like on the first picture. I don't think it's font-related, because it's rendered differently even when you specify font-family and font-size. @mskrzypkows Can you try how FF on Ubuntu render something like this? |
|
@jdm I can investigate the issue, could you give me some hint, in which area should I look for rendering label of input? |
|
The actual text content is derived from |
|
Also |
|
The style: https://github.com/servo/servo/blob/master/resources/servo.css#L46 doesn't work. I've checked in FF, there is text always centred vertical in input. Maybe we need to add some special centering for inputs? I need some more help, I've checked mentioned files but cannot find rendering of input label. @jdm are there any other locations which you suspect of causing the bug? |
|
@highfive: assign me |
|
Hey @stshine! Thanks for your interest in working on this issue. It's now assigned to you! |






