Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix text being top aligned in latest Chrome and Firefox #1859

Merged
merged 4 commits into from
Jan 2, 2019

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Dec 23, 2018

Chrome and Firefox textBaseline behavior has always differed, see:

Plus Chrome seems to have moved to Firefox's behavior in the latest version, moving to middle should fix the problem for both.

Fixes #1858


After Firefox 64

screen shot 2018-12-23 at 10 52 54 am

After Chrome 71

screen shot 2018-12-23 at 10 50 47 am

Before Firefox 64

screen shot 2018-12-23 at 10 54 17 am

Before Chrome 71

screen shot 2018-12-23 at 10 53 51 am

@Tyriar Tyriar added this to the 3.10.0 milestone Dec 23, 2018
@Tyriar Tyriar self-assigned this Dec 23, 2018
@Tyriar Tyriar requested a review from a team January 1, 2019 03:14
Copy link
Member

@jerch jerch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can only test here the newer versions for firefo and chrome, both look the same now. What about the older versions, your screenshots look off by 1 pixel both for chrome and firefox. Do we need a one pixel offset correction for the older versions?

@Tyriar
Copy link
Member Author

Tyriar commented Jan 1, 2019

@jerch I don't think we need to get them to align exactly. They're both using the browser's definition of middle which is fine.

To be clear, the before screenshots are before the PR, on those versions, not < the version.

@jerch
Copy link
Member

jerch commented Jan 1, 2019

Oops, got it, yeah much better now 👍

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.

Cursor is taller than line.
2 participants