Tests transitions of the border shorthand properties.