After a css3 transition being done, a callback makes the inner elements to be visible (using universal selector and opacity property).
In the following case, they stay invisible from the screen. The strangest thing is that when using the console and “inspect the element”, they magically appear.
This bug happens on Chrome 19.0.1084.52 but not on Safari 5.1.5
I’m suspecting a rendering bug, some internal browser triggers which doesn’t fire or something like that.
Try http://jsfiddle.net/tT84s/13/
Shaking the DOM seems to work. In this fiddle, I re-append the transitioning element’s children (in the same order they were originally positioned). It seems to work in the fiddle – though some solutions mentioned here didn’t work for our specific experience of this bug.
Generally speaking, it looks like forcing a DOM change works. Note, however that inserting and removing a
<div>had no effect. Go figure! Good luck, and everyone please try to post your working solutions for this or related fiddles/bug-demonstrations. For example, this may work with simply adding and removing the last child – to avoid doing more appendChild actions than necessary.