Process contentChanged in attached handler instead of ready, just as basic-element now does.