Forum Moderators: open

Message Too Old, No Replies

Firefox: link targeting iframe visited status

         

ultraniblet

10:05 am on Aug 14, 2005 (gmt 0)

10+ Year Member



Hello,

I have a page with an iframe and a number of links which target this iframe. I have styled the links so they have a different color background when visited. In Firefox however I have noticed the 'visited' status doesn't show up until the main page is refreshed. IE and Safari work fine and show the 'visited' color immediately. Here's the relevant css:

a,a:link{
color:#000;
text-decoration:none;
}
a:visited{
background-color:#F30;
}
a:hover{
background-color:#0F0;
}
a:active{
background-color:#F30
}

and the link looks like this:
<a href="http://......" target="i_frm" onFocus="blur()">

Thanks a lot if you could help!

asquithea

12:19 pm on Aug 14, 2005 (gmt 0)

10+ Year Member



It looks like an old bug -- #78510 -- and it's been partially fixed in Deer Park Alpha. Reading through the comments, it looks like it was quite hard to do, and might have caused a few regressions. Assuming that it stays in, expect the fix to show up in the next public version of Firefox.

Firefox / Gecko is a big code-base, and it's full of little oddities like this (like the FavIcon issues). The developers have to prioritize their time, so small bugs don't get much attention unless they irritate someone who's capable of fixing them.

[bugzilla.mozilla.org...]

ultraniblet

12:55 pm on Aug 14, 2005 (gmt 0)

10+ Year Member



Thanks for your post, that definately sounds like the bug. It was very interesting to read the report, best of luck to the Mozilla team for Deer Park!

I suppose for the meantime I could set the background style with javascript.

All the best!