Test repaint-only style changes in non-visible elements don't trigger repaints.