From 7405231472f9b049a43ec0a08348611d8a3e42a9 Mon Sep 17 00:00:00 2001
From: Keith Cirkel The wrap
- attribute is an enumerated attribute with two keywords and states: the soft
keyword
- which maps to the Soft state, and the hard
keyword
- which maps to the Hard state. The missing value default and invalid value default are both the Soft state.
The Soft state indicates that the text in the
- textarea
is not to be wrapped when it is submitted (though it can still be wrapped in
- the rendering).
Keyword + | State + | Brief description + |
---|---|---|
soft
+ | Soft + | Text is not to be wrapped when submitted (though can still be wrapped in the rendering). + |
hard
+ | Hard + | Text is to have newlines added by the user agent so that the text is wrapped when it is + submitted. + |
The Hard state indicates that the text in the
- textarea
is to have newlines added by the user agent so that the text is wrapped when
- it is submitted.
The attribute's missing value default and invalid value default are both the Soft state.
If the element's wrap
attribute is in the Hard state, the