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 up<input> with no specified value or size has incorrect width #8773
Comments
|
Possibly related to #4378 |
|
The <input type=text size=50>So I’m guessing that where we’re implementing this (emphasis added):
… we’re not accounting for the default state of the https://html.spec.whatwg.org/multipage/forms.html#attr-input-type
|
|
Relevant code is |
|
Hi! |
|
It's yours! Look for "nonsense" in |
|
Hi, here my modification. I compare the rendering result with Firefox and has no difference. Could you help me checking the commit, thanks. |
|
Hi @TheKK. Thanks for your contribution! Please open a pull request so that we can use the usual tooling for code review. |
Parse size attribute of HTMLInputElemnt correctly Should fix #8773 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9119) <!-- Reviewable:end -->


Chrome (and Firefox):
Servo:
Relevant section of spec