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

chrome scaling problem #681

Closed
dudiq opened this issue Mar 29, 2012 · 2 comments
Closed

chrome scaling problem #681

dudiq opened this issue Mar 29, 2012 · 2 comments

Comments

@dudiq
Copy link

dudiq commented Mar 29, 2012

  1. go to http://ace.ajax.org/build/kitchen-sink.html
  2. type a lot of text for getting vertical scroll
  3. scroll to bottom
  4. change scale of tab

and you can see, that we have small scrolling to top and in some scales(110% for example) have strange behavior with cursor position

win7 x64, chrome 17.0.963.83. m

@nightwing
Copy link
Member

chrome started to use fractional line heights depending on zoom level

el.style.height = '15px'
el.getBoundingClientRect().height // 14.7888..

probably this is a bug in chrome, but
using getBoundingClientRect in text layer's $measureSizes fixes it

@nightwing
Copy link
Member

fixed in b0bbb36 (cc #870)

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

No branches or pull requests

2 participants