Last modified: 2013-11-11 18:50:30 UTC
There's some very strange code in ext.moodBar.core.js where the JS applies the CSS class 'mw-moodBar-types-hover' when the user hovers over the element, and then removes the class when the mouse is moved away. This style is then used to apply the correct background image (the darkened faces) to the happy/sad/confused faces. The individual faces are, however, styled to the colored faces by simply using the :hover pseudo-class, so clearly using :hover isn't considered to be problematic. None of the elements are links, so IE6 is apparently being ignored for these styles. Is there any reason not to just remove the class-applying JS code (lines 239-243 in moodBar.core.js) and replace the uses of 'mw-moodBar-types-hover' with 'mw-moodBar-types:hover' in moodBar.core.css?
https://gerrit.wikimedia.org/r/#/c/49478/
Change 49478 had a related patch set uploaded by Krinkle: (bug 38345) use :hover instead of jQuery based styling. https://gerrit.wikimedia.org/r/49478