wrap-option

< css‎ | properties
Jump to: navigation, search

wrap-option

This article is Not Ready.


wrap-option (Obsolete)

For technical reasons, the title of this article is not the text used to call this API. Instead, use wrap-option (Obsolete)

Summary

Obsolete and unsupported. Do not use.

This CSS property controls the text when it reaches the end of the block in which it is enclosed.

Overview table

Initial value wrap
Applies to all elements and generated content
Inherited Yes
Media visual
Computed value as specified
Animatable Yes
CSS Object Model Property
Percentages N/A

Syntax

  • wrap-option: emergency
  • wrap-option: no-wrap
  • wrap-option: soft-wrap
  • wrap-option: wrap


Values

wrap
The text is wrapped at the best line-breaking opportunity (if required) within the available block inline-progression dimension
no-wrap
The text is only wrapped where explicitly specified by preserved line feed characters. In the case when lines are longer than the available block width, the overflow will be treated in accordance with the 'overflow' property specified in the element.
soft-wrap
The text is wrapped after the last character which can fit before the ending-edge of the line and where explicitly specified by preserved line feed characters. No line-breaking algorithm is invoked. The intended usage is the rendering of a character terminal emulation.
emergency
The text is wrapped like for the 'wrap' case, except that the line-breaking algorithm will allow as a last resort option a text wrap after the last character which can fit before the ending edge of the line box, independently of 'line-break', 'word-break-cjk' and 'word-break-inside' properties. For example, this addresses the situation of very long words constrained in a fixed-width container with no scrolling allowed.


Compatibility

There is no data available for topic "css", feature "wrap-option". If you think that there should be data available, consider opening an issue.


Needs Examples: This section should include examples.

Notes

Could not find any documentation that this is still relevant, concur that it should be deleted.


Related specifications

Specification Status Related Changes
CSS3 Text Module Obsolete (previously a Candidate Recommendation) Section 7.1

See also

Other articles

See also: wrap-flow property