WhiteSpaceStyle

trait WhiteSpaceStyle[T] extends NormalStyle[T]
trait NormalStyle[T]
class Object
trait Matchable
class Any

Value members

Inherited methods

protected def buildStringValue(value: String): T
protected def valueAsString(value: T): String

Concrete fields

lazy override val normal: T

Sequences of whitespace are collapsed. Newline characters in the source are handled as other whitespace. Breaks lines as necessary to fill line boxes. --MDN

Sequences of whitespace are collapsed. Newline characters in the source are handled as other whitespace. Breaks lines as necessary to fill line boxes. --MDN

lazy val nowrap: T

Collapses whitespace as for normal, but suppresses line breaks (text wrapping) within text. --MDN

Collapses whitespace as for normal, but suppresses line breaks (text wrapping) within text. --MDN

lazy val pre: T

Sequences of whitespace are preserved, lines are only broken at newline characters in the source and at br elements. --MDN

Sequences of whitespace are preserved, lines are only broken at newline characters in the source and at br elements. --MDN

lazy val preLine: T

Sequences of whitespace are collapsed. Lines are broken at newline characters, at br, and as necessary to fill line boxes. --MDN

Sequences of whitespace are collapsed. Lines are broken at newline characters, at br, and as necessary to fill line boxes. --MDN

lazy val preWrap: T

Sequences of whitespace are preserved. Lines are broken at newline characters, at br, and as necessary to fill line boxes. --MDN

Sequences of whitespace are preserved. Lines are broken at newline characters, at br, and as necessary to fill line boxes. --MDN

Inherited fields

lazy val inherit: T

The inherit CSS keyword causes the element for which it is specified to take the computed value of the property from its parent element. --MDN

The inherit CSS keyword causes the element for which it is specified to take the computed value of the property from its parent element. --MDN

See also:
Inherited from:
StyleStringValueBuilder
lazy val initial: T

The initial CSS keyword applies the initial (or default) value of a property to an element. --MDN

The initial CSS keyword applies the initial (or default) value of a property to an element. --MDN

See also:
Inherited from:
StyleStringValueBuilder
lazy val revert: T

The revert CSS keyword reverts the cascaded value of the property from its current value to the value the property would have had if no changes had been made by the current style origin to the current element. --MDN

The revert CSS keyword reverts the cascaded value of the property from its current value to the value the property would have had if no changes had been made by the current style origin to the current element. --MDN

See also:
Inherited from:
StyleStringValueBuilder
lazy val unset: T

The unset CSS keyword resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not. In other words, it behaves like the inherit keyword in the first case, when the property is an inherited property, and like the initial keyword in the second case, when the property is a non-inherited property. --MDN

The unset CSS keyword resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not. In other words, it behaves like the inherit keyword in the first case, when the property is an inherited property, and like the initial keyword in the second case, when the property is a non-inherited property. --MDN

See also:
Inherited from:
StyleStringValueBuilder