1

Possible Duplicate:
Why are the number of upvotes on an answer sometimes blue?

There's a glitch in the user answers list. In the "What is the sanest.." question, there's an <a> link

glitch

This is the code for that case

<div title="total number of votes for this answer, which was accepted as the correct answer by the question owner" class="answer-votes answered-accepted"><a href="/questions/2006960/what-is-the-sanest-way-to-use-global-variables-in-javascript/2006987#2006987">18</a></div>

This is the code for the case directly below

<div title="total number of votes for this answer, which was accepted as the correct answer by the question owner" class="answer-votes answered-accepted">15</div>

So there's a spurious <a> for some reason, which is useless since the number is already linked (the div is already included into a parent <a>)

2
  • It might help to link which user you're seeing this on. That aside, I have seen this before a couple months back on some profile, but I don't know which.
    – Grace Note StaffMod
    Commented Aug 25, 2010 at 18:39
  • For things like this, remember to note the browser you're subjecting yourself to.
    – random Mod
    Commented Aug 25, 2010 at 18:52

1 Answer 1

3

This is a known bug in firefox.

That color doesn't mean anything.

I don't see the bug in chrome.

Or IE

12
  • @Stefano, yeah...it s caused by a bug.
    – jjnguy
    Commented Aug 25, 2010 at 18:41
  • @Stefano, look at the bug report that I linked to...
    – jjnguy
    Commented Aug 25, 2010 at 18:42
  • 1
    @Stefano, if you read the link, you'll see that Firefox admitted that the " Anchor-element wrapped outside <li>-element gets duplicated inside it"
    – devinb
    Commented Aug 25, 2010 at 18:42
  • It's the same root cause @ste
    – random Mod
    Commented Aug 25, 2010 at 18:46
  • @stefano, well, my guess is that the team has decided not to code a workaround for this little bug.
    – jjnguy
    Commented Aug 25, 2010 at 18:46
  • I have to agree - the actual Firefox bug doesn't seem to have any direct relationship to the problem - also, the Firefox bug was fixed months ago and this appears to still be happening. I've just looked through all of the answers and history and none of it satisfactorily (to me) explains the behaviour, unless I'm missing something obvious.
    – Aarobot
    Commented Aug 25, 2010 at 18:48
  • 1
    Well, why does it only ever happen in Firefox?
    – jjnguy
    Commented Aug 25, 2010 at 18:49
  • Doesn't happen in Opera either. @ste
    – random Mod
    Commented Aug 25, 2010 at 18:55
  • Ok guys, sorry. I got it! Apologies. (begs pardon) Commented Aug 25, 2010 at 18:58
  • @Stefano, no need to apologize. The source in chrome looks correct.
    – jjnguy
    Commented Aug 25, 2010 at 19:01
  • There is, I just didn't focus on what you told me to read. Thanks again. Commented Aug 25, 2010 at 19:06
  • 1
    @stef, glad we got it all cleared up.
    – jjnguy
    Commented Aug 25, 2010 at 19:15

Not the answer you're looking for? Browse other questions tagged .