PDA

View Full Version : What are you doing, firefox?!



rubah
09-12-2008, 05:28 AM
What is this blasphemy?

http://forums.eyesonff.com/images/smilies/disgustsmile.gif
http://forums.eyesonff.com/images/smilies/disgustsmile.gif
http://forums.eyesonff.com/images/smilies/disgustsmile.gif
http://forums.eyesonff.com/images/smilies/disgustsmile.gif

Yar
09-12-2008, 05:29 AM
...What?

Roto13
09-12-2008, 05:32 AM
Spam threads are not allowed, rubah. Make another and you will be banned.

rubah
09-12-2008, 05:33 AM
I'll just pretend that you guys hovered over the emoticons to get the topic.

Yar
09-12-2008, 05:35 AM
Pretend? What are we, five? :p

Remulak
09-12-2008, 05:38 AM
Is this an attempt to be funny?

Arc_Master_14
09-12-2008, 05:39 AM
alternative text is weird I never pay attention to it

o_O
09-12-2008, 05:44 AM
Alt text should NOT display when you mouseover an image. :p

Yar
09-12-2008, 05:46 AM
:p says "cl_out".

rubah
09-12-2008, 05:47 AM
Alt text should NOT display when you mouseover an image. :p

I KNOW, which is why this is weird!

screenshot for proof
http://www.snowy-day.net/stuff/others/wtf.png

Roto13
09-12-2008, 06:00 AM
What's wrong with your font? You need a Help thread.

rubah
09-12-2008, 06:03 AM
It's called anti-aliasing and is not the subject of this thread, which is why is there an apparent 180 from the tone found in this article
Mozilla Web Author FAQ (http://www.mozilla.org/docs/web-developer/faq.html#alttooltip)

Rantz
09-12-2008, 08:42 AM
http://static.userland.com/misc/snImages/billGates.gif

http://www.twofifty.com/images/anim2.gif

http://www.shinycrap.com/archives/images/cat_blasphemy.jpg

http://media1.picsearch.com/is?EocC9tBuAWR_ZYB_xJFv-Zt1ByZdibdToYzCg5jakxY

Krelian
09-12-2008, 08:50 AM
Hasn't this been default behavior for like.. forever? At least for a very long time. I do remember that Firefox used to not display ALT text like that, but that seems like an eternity away.

Captain Maxx Power
09-12-2008, 11:49 AM
What the fudge are you complaining about? Someone could be calling you an ass through alt-text and you'd never know about it. Asking to have it removed is like asking someone to plug your ears for you.

Old Manus
09-12-2008, 11:57 AM
But alt text has always appeared when I mouseover http://forums.eyesonff.com/images/smilies/confused2.gif

Rantz
09-12-2008, 12:24 PM
The thing is Firefox has classically been using the title attribute to show tooltips, while IE has used alt. Neither is completely semantically correct to use as tooltips but title is still miles better than alt, which is supposed to be a text to describe the image's content to act as a replacement for the image to browsers that do not display images, screen readers and such tools, or if the image does not load.

[/web design nerd]

Momiji
09-12-2008, 12:55 PM
I like alt text though! I've been using it to leave witty or amusing comments in my signature ever since I joined these forums. :p

Balzac
09-12-2008, 01:01 PM
Firefox is lame.

Jessweeee♪
09-12-2008, 03:35 PM
It's always appeared for me :confused:

Misfit
09-12-2008, 04:52 PM
Firefox is lame.

YOU'RE lame! >:E

Heath
09-12-2008, 06:14 PM
But alt text has always appeared when I mouseover http://forums.eyesonff.com/images/smilies/confused2.gif

Yeah. I like it this way because it's convenient.

qwertysaur
09-12-2008, 06:21 PM
Firefox is simply bored and wants to mess with you minds.

Psychotic
09-12-2008, 07:33 PM
It's always been this way, you big fruit.

rubah
09-12-2008, 07:36 PM
No it hasn't.

Psychotic
09-12-2008, 07:44 PM
Maybe you've been hallucinating for the past few years. Welcome to the real world. How does it feel to have finally opened your eyes?

rubah
09-12-2008, 07:45 PM
So you're saying ranztien and face and all the people that wrote that developer's documentation I linked and all the 'how does I get alt text to show up in firefox' google results are all hallucinating?

Explain why it doesn't happen on other sites! Just eoff!

The... ...not-so Snowy-day. (http://www.snowy-day.net/stuff/scraps/THISSTUFFISSOOLD/dolls4a.php) You don't see the alt text pop up on that star, do you?

Rantz
09-12-2008, 07:46 PM
Don't believe him, rubah! Blue pill! Blue pill!

Psychotic
09-12-2008, 07:50 PM
So you're saying ranztien and face and all the people that wrote that developer's documentation I linked and all the 'how does I get alt text to show up in firefox' google results are all hallucinating?Maybe you hallucinated them siding with you. I don't know how the minds of lunatics work. But I'll believe you, I'll believe whatever you want me to. Just do me a favour, okay? Just one favour. Slowly place that scalpel in your hand on the floor, then back away, okay?

rubah
09-12-2008, 08:01 PM
Operator, I need an exit.

DMKA
09-13-2008, 12:50 AM
Umm....Firefox has always done that for me.

Levian
09-13-2008, 12:54 AM
Only hockey moms use alt text anyway.

Peegee
09-13-2008, 11:31 PM
The thing is Firefox has classically been using the title attribute to show tooltips, while IE has used alt. Neither is completely semantically correct to use as tooltips but title is still miles better than alt, which is supposed to be a text to describe the image's content to act as a replacement for the image to browsers that do not display images, screen readers and such tools, or if the image does not load.

[/web design nerd]

Exactly. Nobody should see alt text.


Let's test something. This following image has an alt text of 'cl_out' and a title of 'clout's smilie':

http://forums.eyesonff.com/images/smilies/tongue.gif

so it seems like firefox shows title text if it exists, and alt text if it doesn't? This only has alt text:

http://forums.eyesonff.com/images/smilies/tongue.gif

ugh, this sucks.

~*~Celes~*~
09-13-2008, 11:40 PM
I have no idea what any of you are talking about.

*Also uses firefox but isn't sure what's going on*

Krelian
09-14-2008, 12:07 AM
Exactly. Nobody should see alt text.


Let's test something. This following image has an alt text of 'cl_out' and a title of 'clout's smilie':

:ezpimp:

so it seems like firefox shows title text if it exists, and alt text if it doesn't? This only has alt text:

:ezpimp:

ugh, this sucks.
I wonder when this was changed. When you search for information you run into countless websites explaining Firefox's correct behavior not to display ALT texts, but I have yet to find one that explains when it was changed :p

rubah
09-14-2008, 12:13 AM
My pet theory is that it is eoff because it hasn't done it on any other sites and also there isn't a big 'WTF' from the collective nerds as a whole.

Krelian
09-14-2008, 12:45 AM
I think you are halfway right. I think it has to do with vBulletin. I checked some other websites and found there was no tooltip on any of them, except one that had a vBulletin board running.

If you check the second ":p" smiley from Pureghetto that shouldn't have a title attribute you'll find it actually has. I suppose vBulletin automatically copies the alt attribute to the title attribute to mimic IE's behavior.

o_O
09-14-2008, 01:04 AM
Ok, so I think the title attribute is added in via a function in one of the vBulletin javascript functions which specifically copies alt text to title text. That means it's applying the title attribute after the page source is downloaded, explaining why there's no title in the source code and why the title appears if you inspect the element. :p

EDIT: Ok, yes, these two functions exist in <a href="http://forums.eyesonff.com/clientscript/vbulletin_global.js">the vbulletin_global.js</a> script. Here you go:

// Substantially deobfuscated :p
function child_img_alt_2_title(A) {
var C = A.getElementsByTagName("img");
for(var B = 0; B < C.length; B++) {
img_alt_2_title(C[B])
}
}

function img_alt_2_title(A) {
if(!A.title && A.alt != "") {
A.title = A.alt;
}
}

crono_logical
09-14-2008, 01:11 AM
I guess it's vBulletin messing with your minds, not Firefox :p

Rantz
09-14-2008, 03:53 AM
It was a bit of a scare!

rubah
09-14-2008, 04:01 AM
I specifically asked you if there was any arcane javascript that could the culprit and you said no >:[

Peegee
09-14-2008, 06:56 AM
I specifically asked you if there was any arcane javascript that could the culprit and you said no >:[

Mike likes to mess with you.

Baloki
09-14-2008, 10:12 AM
Operator, I need an exit.

There's one just the other side of Central Park.

crono_logical
09-14-2008, 07:05 PM
It's always been this way, you big fruit.


Umm....Firefox has always done that for me.


I specifically asked you if there was any arcane javascript that could the culprit and you said no >:[It's PHP doing it anyway, not javascript :D