That code actually says
has_identity, but the underscore is obscured by the background of the OP's username in Chrome.
Image is from this answer, if anyone wants to see it in action.
The basic cause of this problem is insufficient
Unfortunately, determining just how much line height is "sufficient" is not as easy as it looks, since it varies a lot based on browser, OS, available fonts, user settings and zoom level. Things are particularly confusing for monospace text like the in-line code in the example comment, since browsers like to apply all kinds of font size hacks in an effort to "make it look better", but they all do it differently.
Thus, it's nearly impossible to avoid this issue completely (or at least, if it's possible at all, it would take a better CSS hacker than I am to do it). As far as I know, about the best we could do — assuming we don't want to increase the line spacing in comments to ludicrous levels — would be to increase the line height a bit, scale down the font size for code in comments a little and hope that these changes together will reduce the likelihood of this happening.
Of course, if anyone knows a better solution, I'd very much like to hear it.
Edit: I did find a workaround for this problem (on SO, where else?), although it's not a pure CSS fix.
The basic trick is wrapping the text inside the inline element with a non-transparent background in a
Thus, to apply the fix in this case would seem to require something like the following:
I've tried this by hand using Firebug, and it works: the text floats above the backgrounds no matter how much I reduce the line height. Here's a screenshot of the example comment linked from the question, manually tweaked and restyled to demonstrate the fix:
(Note that I also deliberately increased the font size and reduced the line height for the demo to make the lines of text overlap badly. Without those changes, the
Edit: A limited version of this fix is now included in the Stack Overflow Unofficial Patch v1.2. It only adds
I just came across this issue as well.
I noticed that in comments, a user's link can sometimes overlap with the user's text. This happens when the comment is more than one line, and when the text has characters that go below the base line of the text. I originally noticed this because the comment was indicating a variable named
A few examples
I then looked at Meta and noticed that the issue is here too (the first simple instance I found was with the bottom of a
I remember that recently there were some changes made to the
Simply make this change:
Previously it was
Here is an example of the fix working with question linked by OP: