From 7405231472f9b049a43ec0a08348611d8a3e42a9 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Tue, 28 Nov 2023 04:14:35 +0000 Subject: [PATCH] Editorial: add textarea wrap enumerated attribute table Helps with #9832. --- source | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/source b/source index 7aa99a858ab..1691d2ce848 100644 --- a/source +++ b/source @@ -54203,22 +54203,31 @@ interface HTMLTextAreaElement : HTMLElement {

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.

+ attribute is an enumerated attribute with the following keywords and states:

-

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