-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Text posittion / bounding box inconsistent #647
Comments
This just comes from whatever the browser thinks it is. Eg if you add x,y are the positions of the text baseline. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text position is not consitent with it's bounding box:
HTML:
Fiddle:
https://jsfiddle.net/x5qf7bz4/4/
Output:
Text attr (x, y):100, 100
Text bounds(x, y, height, width):100, 86, 17, 41.1
Crreating a text at 100,100, attr(x, y) is 100, but it's bounding box is 100, 86.
Text is based on bottom left instead of top left as all other elements?
Thank you
The text was updated successfully, but these errors were encountered: