Bug 50800 - Font flicker issues on hover transition.
Summary: Font flicker issues on hover transition.
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Normal
Assignee: Nobody
URL: http://www.petemilkman.com/css3-2d-pg...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-09 20:56 PST by Pete Milkman
Modified: 2022-07-12 14:02 PDT (History)
6 users (show)

See Also:


Attachments
Here's another case of this phenomenon. (26 bytes, text/plain)
2011-08-02 13:18 PDT, Joshua Merrill
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pete Milkman 2010-12-09 20:56:59 PST
If you hover over one of the squares in the grid, you'll notice the text in the grid squares after it in the grid get lighter during the transition, and then return to normal when the transition is complete. 

- It only happens to the squares after the one you hover over.
- Happens during the transition but not before or after.
- Doesn't happen in Chrome, FF4 or Opera.
- The 'lightening' of the text happens immediately and reverts immediately (not a smooth transition).
- The 'lightening' problem was not intended in the code at all.
Comment 1 Pete Milkman 2010-12-09 21:02:41 PST
This also occurs in Safari 5.
Comment 2 mitz 2010-12-10 00:05:55 PST
The squares go in and out of compositing mode, and when subpixel antialiasing is on (which is the default on Mac OS X), text rendering in composited layers is different. A workaround would be to permanently disable subpixel antialiasing on the page, using "-webkit-font-smoothing: antialiased;".

There may already be bugs in the database covering the issues seen in this case.
Comment 3 Simon Fraser (smfr) 2010-12-10 08:34:24 PST
Related to bug 23364.
Comment 4 Pete Milkman 2011-02-25 19:37:59 PST
23364 has been closed, but this is stil happening in the latest nightly.
Comment 5 Joshua Merrill 2011-08-02 13:18:44 PDT
Created attachment 102691 [details]
Here's another case of this phenomenon.
Comment 6 Klim Lee 2015-06-21 22:41:10 PDT
It’s 2015, and the issue is still there.
Comment 7 Myles C. Maxfield 2015-07-09 20:41:39 PDT
Seems likely this is due to compositing layers.
Comment 8 Myles C. Maxfield 2015-07-09 20:42:08 PDT
Ah, I didn't read what Mitz said. Yep.
Comment 9 Brent Fulgham 2022-07-12 14:02:48 PDT
I can't see any difference between Safari, Chrome, or Firefox in handling of the test case (the link is unavailable, but the http://css3exp.com/button/# test case is still active.