API / geotoolkit / attributes / TextStyle / WhiteSpaceStyle

Enumeration: WhiteSpaceStyle

attributes.TextStyle.WhiteSpaceStyle

Enum of white-space The white-space property sets how white space inside an element is handled. https://developer.mozilla.org/en-US/docs/Web/CSS/white-space

Table of contents

Enumeration Members

Contents

Enumeration Members

BreakSpaces

BreakSpaces = "break-spaces"

BreakSpaces The behavior is identical to that of pre-wrap, except that:

  • Any sequence of preserved white space always takes up space, including at the end of the line.
  • A line breaking opportunity exists after every preserved white space character, including between white space characters.
  • Such preserved spaces take up space and do not hang, and thus affect the box’s intrinsic sizes (min-content size and max-content size).

NoWrap

NoWrap = "nowrap"

NoWrap Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.


Normal

Normal = "normal"

Normal Sequences of white space are collapsed. Newline characters in the source are handled the same as other white space. Lines are broken as necessary to fill line boxes.


Pre

Pre = "pre"

Pre Sequences of white space are preserved. Lines are only broken at newline characters in the source and at
elements.


PreLine

PreLine = "pre-line"

PreLine Sequences of white space are collapsed. Lines are broken at newline characters, at
, and as necessary to fill line boxes.


PreWrap

PreWrap = "pre-wrap"

PreWrap Sequences of white space are preserved. Lines are broken at newline characters, at
, and as necessary to fill line boxes.


Undefined

Undefined = "undefined"

Undefined (Default) Backward compatibility