Every once in a while, Chrome will render perfectly valid HTML/CSS incorrectly or not at all. Digging in through the DOM inspector is often enough to get it to realize the
Most answers require the use of an asynchroneous timeout, which causes an annoying blink.
But I came up with this one, which works smoothly because it is synchroneous:
var p = el.parentNode, s = el.nextSibling; p.removeChild(el); p.insertBefore(el, s);