The white_space enum class specifies how white-space inside an element is handled.
Enumerator |
---|
normal | Sequences of whitespace will collapse into a single whitespace. Text will wrap when necessary. This is default.
|
no_wrap | Sequences of whitespace will collapse into a single whitespace. Text will never wrap to the next line. The text continues on the same line until a
tag is encountered.
|
pre | Whitespace is preserved by the browser. Text will only wrap on line breaks. Acts like the.
tag in HTML
|
pre_line | Sequences of whitespace will collapse into a single whitespace. Text will wrap when necessary, and on line breaks.
|
pre_wrap | Whitespace is preserved by the browser. Text will wrap when necessary, and on line breaks.
|