added if element has text or positive sized child it should be visible
updating spec file