Skip to content

Fixed line-height for input and textarea + use correct font - #10809

Merged
bors-servo merged 2 commits into
servo:masterfrom
perlun:sendoushi-master
May 2, 2016
Merged

bors-servo merged 2 commits into
servo:masterfrom
perlun:sendoushi-master

Conversation

@perlun

@perlun perlun commented Apr 22, 2016

Copy link
Copy Markdown
Contributor

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 Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Apr 22, 2016
@perlun

perlun commented Apr 22, 2016

Copy link
Copy Markdown
Contributor Author

r? @pcwalton

@jdm

jdm commented Apr 22, 2016

Copy link
Copy Markdown
Member

Could you squash these?

@highfive highfive assigned pcwalton and unassigned emilio Apr 22, 2016
@perlun
perlun force-pushed the sendoushi-master branch from 398d811 to b160884 Compare April 22, 2016 17:07
@perlun

perlun commented Apr 22, 2016

Copy link
Copy Markdown
Contributor Author

Sure. Done.

@jdm jdm mentioned this pull request Apr 22, 2016
@jdm

jdm commented Apr 22, 2016

Copy link
Copy Markdown
Member

@bors-servo: r=pcwalton

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit b160884 has been approved by pcwalton

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Apr 22, 2016
@iamajoe

iamajoe commented Apr 22, 2016

Copy link
Copy Markdown

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

@perlun

perlun commented Apr 22, 2016

Copy link
Copy Markdown
Contributor Author

Well thanks @perlun you've been of extreme help on this matter :)

Glad I could help! And thanks a lot for the contribution.

And sorry for the time delay for something so simple. Life crazy around here ehehe

No worries whatsoever.

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit b160884 with merge 758f41c...

bors-servo pushed a commit that referenced this pull request Apr 23, 2016
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 -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-css

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Apr 23, 2016
@highfive

Copy link
Copy Markdown
  ▶ FAIL [expected PASS] /css-transforms-1_dev/html/transform-input-017.htm
  └   → /css-transforms-1_dev/html/transform-input-017.htm cf67136a6a7fcddffa2eb70561617059bb22b2dd
/css-transforms-1_dev/html/reference/transform-input-017-ref.htm fa15fb95b446c383432f606d7d2159a2b748bd41
Testing cf67136a6a7fcddffa2eb70561617059bb22b2dd == fa15fb95b446c383432f606d7d2159a2b748bd41

  ▶ FAIL [expected PASS] /css-transforms-1_dev/html/transform-input-018.htm
  └   → /css-transforms-1_dev/html/transform-input-018.htm 55f3d81c0afdd5c1c6ac5a0784008202204a87f0
/css-transforms-1_dev/html/reference/transform-input-018-ref.htm ea7ce37edb38b24e2aad04af5de2f20e681c4fa5
Testing 55f3d81c0afdd5c1c6ac5a0784008202204a87f0 == ea7ce37edb38b24e2aad04af5de2f20e681c4fa5

@perlun

perlun commented Apr 25, 2016

Copy link
Copy Markdown
Contributor Author

@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.

@jdm

jdm commented Apr 25, 2016

Copy link
Copy Markdown
Member

@jdm

jdm commented Apr 25, 2016

Copy link
Copy Markdown
Member

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 :(

@perlun

perlun commented Apr 25, 2016

Copy link
Copy Markdown
Contributor Author

Small but subtle differences... @Sendoushi, any suggestions?

@jdm

jdm commented Apr 25, 2016

Copy link
Copy Markdown
Member

I'm inclined to file an issue for the two failing tests, mark them as expected to fail, and merge these changes.

@iamajoe

iamajoe commented Apr 25, 2016

Copy link
Copy Markdown

@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!

@perlun
perlun force-pushed the sendoushi-master branch from b160884 to 8adad42 Compare April 27, 2016 20:48
@highfive highfive removed the S-tests-failed The changes caused existing tests to fail. label Apr 27, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 0615307 has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Apr 30, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 0615307 with merge 10d4da7...

bors-servo pushed a commit that referenced this pull request Apr 30, 2016
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 -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel

@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Apr 30, 2016
@highfive

Copy link
Copy Markdown
  ▶ FAIL [expected PASS] /_mozilla/css/submit_focus_a.html
  └   → /_mozilla/css/submit_focus_a.html 8870fa4fe75206fd1e82bcbff0647ee1d811943b
/_mozilla/css/submit_focus_b.html 496dfe2b4cbe8a51719d0a219511ed0fb6032131
Testing 8870fa4fe75206fd1e82bcbff0647ee1d811943b == 496dfe2b4cbe8a51719d0a219511ed0fb6032131

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Apr 30, 2016
@perlun

perlun commented Apr 30, 2016

Copy link
Copy Markdown
Contributor Author

Blargh. Apparently the focus test still fails. Have to look into that tomorrow, bedtime now.

@perlun

perlun commented Apr 30, 2016

Copy link
Copy Markdown
Contributor Author

@jdm - any idea what could be causing that?

@jdm

jdm commented May 1, 2016

Copy link
Copy Markdown
Member

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.

@perlun
perlun force-pushed the sendoushi-master branch from 0615307 to 220722e Compare May 1, 2016 19:37
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels May 1, 2016
@perlun

perlun commented May 1, 2016

Copy link
Copy Markdown
Contributor Author

Awesome, thanks! Updated now, so let's hope that the builds are now all 💚 again.

@emilio

emilio commented May 1, 2016

Copy link
Copy Markdown
Member

Well, that's easy to test :). I'll let @jdm to re-check the changes, but meanwhile:

@bors-servo: try

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 220722e with merge a6fb346...

bors-servo pushed a commit that referenced this pull request May 1, 2016
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 -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows

@jdm

jdm commented May 1, 2016

Copy link
Copy Markdown
Member

@bors-servo: r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 220722e has been approved by jdm

@highfive highfive removed the S-awaiting-review There is new code that needs to be reviewed. label May 1, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 220722e with merge e65009f...

@highfive highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label May 1, 2016
bors-servo pushed a commit that referenced this pull request May 1, 2016
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 -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows

@bors-servo
bors-servo merged commit 220722e into servo:master May 2, 2016
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label May 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants