Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upText inside of an element with display: inline-block should flow with text outside of it. #13143
Comments
|
That is a lot better. It seems the "XYZ" is shifted one pixel down. When I change the border width, the vertical shift of the "XYZ" changes to match—removing the border eliminates the disparity. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Firefox:

Chromium:

Servo:

If
#inneris set tooverflow: hidden, Firefox and Chrome will match Servo in the placement of the text but will still render the full border, whereas Servo will cut it off, as reported in #13142.