Functional test for square type.
Simplify css.