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.
This article is Not Ready.
For technical reasons, the title of this article is not the text used to call this API. Instead, use
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.
|Initial value|| |
|Applies to||all elements and generated content|
|Computed value||as specified|
|CSS Object Model Property|| |
- 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.
|CSS3 Text Module||Obsolete (previously a Candidate Recommendation)||Section 7.1|
See also: wrap-flow property