This sounds uncannily familiar to Georg's reported bug for Chrome v31 3
days ago on this list whereby stateful re-rendering didn't happen. His
example involved invisible checkboxes expanding content via the :checked
pseudo-class.

My take on this is that the Chrome team did some aggressive
over-optimisation on the rendering engine for v31 whereby state changes do
not perform a proper repaint, for the benefit of not having to recalculate
layout whenever a user mouseovers each individual element.

I've previously managed to deal with these increasingly common Chrome
rendering bugs by hacking in -webkit-transform: translateZ( 0 ); on the
troublesome element (which brings it into a separate rendering thread
that's given more priority) — another trick which has worked for me in the
past is applying a CSS animation on a property which could in theory modify
the layout properties of the element, but in practice don't — such as
animating a bottom margin when there is no following content, or the
container has overflow hidden.

The problem with these methods is that they're obvious hacks but they also
eat at performance and can sometimes cause further bugs of their own —
still I'd appreciate you're trying them out just to see if they do indeed
have any effect.

The general topic of performance-based CSS hacks is generally quite
interesting — I've recently read about reliable, measurable (~2x) layout
repaint speeds on changes for elements that have fixed positioning and
fixed heights, for example. On the one hand the rapid release cycle for
Chrome is fantastic, but at the same time the moving target for bugs is
exasperating. Hopefully the next release fixes this and comes out in the
next week!


On Monday, 18 November 2013, Karl DeSaulniers wrote:

>
> On Nov 17, 2013, at 10:11 PM, David Hucklesby wrote:
>
> > Developing a drop-down menu, I'm following an idea I came across that
> adds a
> > marker to a menu item that has a following sub-menu[1]. It uses this
> selector
> > that works in CSS3 browsers:
> >
> > .nav li a:first-child:nth-last-child(2) {...}
> >
> > While this works in modern browsers, the marker disappears in Chrome
> v.31.0 for
> > Mac. In this simplified Pen, it disappears on :hover. With slightly more
> complex
> > CSS it does not appear on Chrome at all. (Okay on Chrome for Windows.)
> >
> > <http://codepen.io/hucklesby/full/KghaC>
> >
> > If you have Chrome on a Mac, I'd be grateful if you let me know whether
> you see
> > this phenomenon. Could be something to do with my install (on Mavericks,
> FWIW).
> >
> > Thanks in advance.
> >
> > [1] <
> http://css-tricks.com/targetting-menu-elements-submenus-navigation-bar/>
> > --
> > Cordially,
> > David
> > ______________________________________________________________________
> > css-discuss [[email protected] <javascript:;>]
> > http://www.css-discuss.org/mailman/listinfo/css-d
> > List wiki/FAQ -- http://css-discuss.incutio.com/
> > List policies -- http://css-discuss.org/policies.html
> > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
> Works for me. Version 28.0.1500.71 OS 10.7.5
>
> Karl DeSaulniers
> Design Drumm
> http://designdrumm.com
> ______________________________________________________________________
> css-discuss [[email protected] <javascript:;>]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>


-- 
Regards,
Barney Carroll

[email protected]
+44 7429 177278

barneycarroll.com
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to