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

Bounds for Text display items are incorrect #153

Closed
burg opened this issue Oct 24, 2012 · 0 comments
Closed

Bounds for Text display items are incorrect #153

burg opened this issue Oct 24, 2012 · 0 comments

Comments

@burg
Copy link

@burg burg commented Oct 24, 2012

DisplayItem::Text should enclose the ascenders and descenders completely, but it seems like we are drawing the actual text too far down.

Note that Lineboxes do not necessarily enclose text box bounds, depending on the amount of leading induced by CSS line-height values.

http://imgur.com/McWHB

@burg burg closed this in 416ffea Oct 24, 2012
ChrisParis pushed a commit to ChrisParis/servo that referenced this issue Sep 7, 2014
Adding test cases for input type="text" and type="search" (4.10.7.1.2)
glennw added a commit to glennw/servo that referenced this issue Jan 16, 2017
Some more work towards snapping / clipping accuracy issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.