MozillaZine

Text-shadow slow on hover in long lists

Discuss how to use and promote Web standards with the Mozilla Gecko engine.
mahks

User avatar
 
Posts: 31
Joined: September 9th, 2009, 5:08 pm

Post Posted November 19th, 2014, 10:50 pm

Found some inconsistent behaviour with text-shadow in :hover

Seems there is a delay in some situations.
I narrowed it down to when a div contains many children, this somehow affects a hover within one of those children.

Found this in bugzilla :
https://bugzilla.mozilla.org/show_bug.cgi?id=552499
but is several years old and got no confirmation.

I will post this to that bug report, unless someone here can find an error I have made.

Demo of issue :

http://www.starlords3k.com/tests/hover_test.html
Ignorance is being uninformed, persisting once informed is being ignorant.

mahks

User avatar
 
Posts: 31
Joined: September 9th, 2009, 5:08 pm

Post Posted December 11th, 2014, 3:48 pm

Please, could someone confirm they see the slow hover effect.
Or even state they do not see it... Thanks
Ignorance is being uninformed, persisting once informed is being ignorant.

patrickjdempsey

User avatar
 
Posts: 23734
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted December 11th, 2014, 4:13 pm

Yup, it does appear slowly on that test page. Text-shadow is just one of those weird things. You might consider adding your test case to that bug, although I would remove all of the extra stuff like buttons, scripts, shading etc. Just make it as simple as possible to illustrate the problem. You might also offer a shorter list that does not show the lag as a comparison.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

BruceAWittmeier

User avatar
 
Posts: 2647
Joined: June 9th, 2008, 10:53 am
Location: Near 37.501685 -80.147967

Post Posted December 12th, 2014, 6:13 am

I don't see the problem any more. When you first posted, it was quite obvious. It now seems to be gone. I'm using Fx 37.0a1 Nightly.
~ I'm only here to Pay it Forward. ~

"I often take a very long windy road to my destination. When I arrive I often wonder how I missed the shortcut".

mahks

User avatar
 
Posts: 31
Joined: September 9th, 2009, 5:08 pm

Post Posted December 16th, 2014, 3:30 pm

Thanks! I just loaded Nightly 37.0a1 and still see the problem ...

Posted as as bug :

https://bugzilla.mozilla.org/show_bug.cgi?id=1109980
Ignorance is being uninformed, persisting once informed is being ignorant.

BruceAWittmeier

User avatar
 
Posts: 2647
Joined: June 9th, 2008, 10:53 am
Location: Near 37.501685 -80.147967

Post Posted December 16th, 2014, 4:12 pm

What I just noticed is moving the mouse up/down off the text area it seems to work OK. If you mouse-over the text it's like rowing in tar.

I don't see where your shadow is suppose to be applied.
~ I'm only here to Pay it Forward. ~

"I often take a very long windy road to my destination. When I arrive I often wonder how I missed the shortcut".

patrickjdempsey

User avatar
 
Posts: 23734
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted December 16th, 2014, 4:30 pm

His test-case is too complicated. You have to press the buttons along the top to get the shadows to appear, and the styling of the buttons makes it difficult to tell how to make them work. Which is exactly why I suggested a more simplified test without all of that. But whatever.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

mahks

User avatar
 
Posts: 31
Joined: September 9th, 2009, 5:08 pm

Post Posted December 16th, 2014, 8:26 pm

BruceAWittmeier wrote:I don't see where your shadow is suppose to be applied.

On first entry, there is no shadow so you can see all works fine.
When you click the "shadow on" button, A shadow is set to the :hover for the row text. This is where the problem is, if you mouse over the text quickly.

If you then click the "short list" button the issue goes away, indicating the problem may be with having many siblings.

Sorry about the buttons, when the button is lighter it is "on".
Ignorance is being uninformed, persisting once informed is being ignorant.

Return to Web Development / Standards Evangelism


Who is online

Users browsing this forum: No registered users and 1 guest