On 6/18/07, rjdsa <[EMAIL PROTECTED]> wrote:
>
> Hey all,
> I have a fade effect with a callback as follows:
>
> Effect.Fade(msgObj.html_id,
> {afterFinish: function() {
> this.deleteMessage(msgObj)
> }.bind(this)
> });
>
> I notice that while the effect happens, any of the bold text on the
> rest of the page
> seems to unbold while it is redrawing and then goes back to bold after
> the effect
> has completed.
>
> Is this some side effect?
I'd guess that it's a "quirk" in FF's text rendering:
http://www.mezzoblue.com/archives/2006/12/12/opacity_bugs/
Your text isn't actually changing from bold to normal; instead, FF is
changing how it anti-aliases that text, with the end result being that
the text weight seems to change.
> How can I fix this?
Setting something's opacity to 0.9999 might do the trick, as suggested
in the article. On the other hand, having elements with opacities of
less than 1 can quickly hinder your page's performance, so...
--
Chris Boone, Hypsometry
http://hypsometry.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---