Normalize Chrome-like placeholder behaviour across browsers