Repository navigation
Fixed line-height for input and textarea + use correct font - #10809
Conversation
|
r? @pcwalton |
|
Could you squash these? |
398d811 to
b160884
Compare
|
Sure. Done. |
|
@bors-servo: r=pcwalton |
|
📌 Commit b160884 has been approved by |
|
Well thanks @perlun you've been of extreme help on this matter :) And sorry for the time delay for something so simple. Life crazy around here ehehe |
Glad I could help! And thanks a lot for the contribution.
No worries whatsoever. |
Fixed line-height for input and textarea + use correct font Fixes #10532. Replaces #10553 since @Sendoushi had problems getting a proper rebase locally, so helping him out to get this merged. (Credits to Sendoushi who did the actual changes; I'm just helping out to getting things into a mergeable state.) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10809) <!-- Reviewable:end -->
|
💔 Test failed - mac-rel-css |
|
|
@jdm - any idea how we can sort this mess out? I cannot really see that this PR changes stuff that affects these tests, but maybe I'm blind. |
|
I downloaded http://build.servo.org/builders/mac-rel-css/builds/507/steps/test/logs/test-css.log/text (which is the result of appending /text to the URL for "test-css.log" on the buildbot page) and ran it through the reftest analyzer: |
|
So that's fun. There's a tiny little extra bit of space on the left side of the third input in both testcases. This feels like it's tickling a bug in our layout code, unfortunately :( |
|
Small but subtle differences... @Sendoushi, any suggestions? |
|
I'm inclined to file an issue for the two failing tests, mark them as expected to fail, and merge these changes. |
|
@perlun I would need to have a check on the code. Sometimes what happens is that people forget that half-pixels don't work that well on displays. These kind of elements should always have an odd width but this is just a possibility without actually checking anything! |
b160884 to
8adad42
Compare
|
📌 Commit 0615307 has been approved by |
Fixed line-height for input and textarea + use correct font Fixes #10532. Replaces #10553 since @Sendoushi had problems getting a proper rebase locally, so helping him out to get this merged. (Credits to Sendoushi who did the actual changes; I'm just helping out to getting things into a mergeable state.) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10809) <!-- Reviewable:end -->
|
💔 Test failed - linux-rel |
|
|
Blargh. Apparently the focus test still fails. Have to look into that tomorrow, bedtime now. |
|
@jdm - any idea what could be causing that? |
|
The button in submit_focus_a.html now has padding applied to it, and submit_focus_b.html is explicitly setting the padding for the reference element to 0. I think we should get rid of all the explicit styling in both submit_focus_a.html and submit_focus_b.html, since I think it's just there to compensate for the missing styles that are being added by this PR. |
|
Awesome, thanks! Updated now, so let's hope that the builds are now all 💚 again. |
|
Well, that's easy to test :). I'll let @jdm to re-check the changes, but meanwhile: @bors-servo: try |
Fixed line-height for input and textarea + use correct font Fixes #10532. Replaces #10553 since @Sendoushi had problems getting a proper rebase locally, so helping him out to get this merged. (Credits to Sendoushi who did the actual changes; I'm just helping out to getting things into a mergeable state.) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10809) <!-- Reviewable:end -->
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows |
|
@bors-servo: r+ |
|
📌 Commit 220722e has been approved by |
|
⌛ Testing commit 220722e with merge e65009f... |
Fixed line-height for input and textarea + use correct font Fixes #10532. Replaces #10553 since @Sendoushi had problems getting a proper rebase locally, so helping him out to get this merged. (Credits to Sendoushi who did the actual changes; I'm just helping out to getting things into a mergeable state.) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10809) <!-- Reviewable:end -->
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows |


Fixes #10532.
Replaces #10553 since @Sendoushi had problems getting a proper rebase locally, so helping him out to get this merged.
(Credits to Sendoushi who did the actual changes; I'm just helping out to getting things into a mergeable state.)
This change is