The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.


< css‎ | properties
Jump to: navigation, search


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)


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


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


The text is wrapped at the best line-breaking opportunity (if required) within the available block inline-progression dimension

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.

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.

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.

Needs Examples: This section should include examples.


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