SUIT CSS: text utilities tests

.u-textBreak

breaks stings across multiple lines, when they are wider than the container

http://subdomain.exampledomain.com/averylongurlthatneedstobebrokenotherwiseitisgoingtokeepgoingforever

does not break strings that are not wider than the container

wraplongwords dontbreaklongwords wraplongwords dontbreaklongwords wraplongwords dontbreaklongwords wraplongwords dontbreaklongwords wraplongwords dontbreaklongwords

.u-textCenter

center-aligns text

Lorem ipsum dolor sit amet.

.u-textLeft

left-aligns text

Lorem ipsum dolor sit amet.

.u-textRight

right-aligns text

Lorem ipsum dolor sit amet.

.u-textInheritColor

should inherit the ancestral text color

.u-textKern

should enable kerning in supported browsers

The quick brown fox jumps over the lazy dog (default)
The quick brown fox jumps over the lazy dog (kerning enabled)

.u-textNoWrap

should not wrap text

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla hendrerit blandit dolor, at euismod ante eleifend in. Duis imperdiet cursus nibh, quis tincidunt nibh rhoncus at.

.u-textTruncate

clips and truncates a single line of text, using an ellipsis

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla hendrerit blandit dolor, at euismod ante eleifend in. Duis imperdiet cursus nibh, quis tincidunt nibh rhoncus at.