From 8129a66dfd7e738e0bcab2ed864fe286bf45a121 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Wed, 10 Jan 2024 09:51:53 +0000 Subject: [PATCH 1/8] Editorial: add enumerated attribute table for formmethod Helps with #9832 --- source | 51 +++++++++++++++++++++++++++++---------------------- 1 file changed, 29 insertions(+), 22 deletions(-) diff --git a/source b/source index b50797fdac9..f61d4719ab9 100644 --- a/source +++ b/source @@ -56047,31 +56047,38 @@ form.method === input; // => true content attributes are enumerated attributes with the following keywords and states:

- + + + + + + + +
Keyword + State + Brief description +
get + Get + Indicates the form will use the HTTP GET method. +
post + Post + Indicates the form will use the HTTP POST method. +
dialog + Dialog + Indicates the form is intented to close the dialog box in which + the form finds itself, if any, and otherwise not submit. +

The attribute's missing value default and invalid value default are both the GET state.

+ data-x="attr-fs-method-GET">Get state.

The formmethod attribute has no missing value default, and its invalid value - default is the GET state.

+ default is the Get state.

The method of an element is one of those states. If the element is a submit button and has a - GET - POST + Get + Post http @@ -59485,7 +59492,7 @@ fur

Submit as entity body

Assert: method is POST.

+ data-x="attr-fs-method-post">Post.

Switch on enctype: From 15d5bfce1cbfb6216eb44538a66ac2268d556693 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Wed, 10 Jan 2024 10:57:49 +0000 Subject: [PATCH 2/8] restore upper case for HTTP VERBS --- source | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/source b/source index f61d4719ab9..822850274e3 100644 --- a/source +++ b/source @@ -56057,12 +56057,12 @@ form.method === input; // => true get - Get + GET Indicates the form will use the HTTP GET method. post - Post + POST Indicates the form will use the HTTP POST method. true the form finds itself, if any, and otherwise not submit. + +

The attribute's missing value default and invalid value default are both the Get state.

+ data-x="attr-fs-method-GET">GET state.

The formmethod attribute has no missing value default, and its invalid value - default is the Get state.

+ default is the GET state.

The method of an element is one of those states. If the element is a submit button and has a - Get - Post + GET + POST http @@ -59492,7 +59494,7 @@ fur

Submit as entity body

Assert: method is Post.

+ data-x="attr-fs-method-post">POST.

Switch on enctype: From a8782def4f6fff0e9fc10d8b1aeee8207eca7cb6 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Wed, 10 Jan 2024 10:58:27 +0000 Subject: [PATCH 3/8] remove erroneous --- source | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source b/source index 822850274e3..e96767b885e 100644 --- a/source +++ b/source @@ -56069,7 +56069,7 @@ form.method === input; // => true data-x="attr-fs-method-dialog-keyword">dialog Dialog Indicates the form is intented to close the dialog box in which - the form finds itself, if any, and otherwise not submit. + the form finds itself, if any, and otherwise not submit. From fd35f8144988ba2653be2355c746f4351d6c828e Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Wed, 10 Jan 2024 11:22:10 +0000 Subject: [PATCH 4/8] remove erroneous --- source | 2 -- 1 file changed, 2 deletions(-) diff --git a/source b/source index e96767b885e..efbc47138d5 100644 --- a/source +++ b/source @@ -56072,8 +56072,6 @@ form.method === input; // => true the form finds itself, if any, and otherwise not submit. - -

The attribute's missing value default and invalid value default are both the GET state.

From 1caa87d28b19a4a885d4d424025d1647b30f23b0 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Fri, 12 Jan 2024 09:36:32 +0000 Subject: [PATCH 5/8] fix typo --- source | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source b/source index efbc47138d5..6183e3d5179 100644 --- a/source +++ b/source @@ -56068,7 +56068,7 @@ form.method === input; // => true dialog Dialog - Indicates the form is intented to close the dialog box in which + Indicates the form is intended to close the dialog box in which the form finds itself, if any, and otherwise not submit. From e51ab32c59753e024e6a89b90dce43d230e6a5b5 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Fri, 12 Jan 2024 09:37:34 +0000 Subject: [PATCH 6/8] expand form/method,button/method to add input/method --- source | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source b/source index 6183e3d5179..302e7cfa359 100644 --- a/source +++ b/source @@ -56055,17 +56055,17 @@ form.method === input; // => true Brief description - get GET Indicates the form will use the HTTP GET method. - post POST Indicates the form will use the HTTP POST method. - dialog Dialog Indicates the form is intended to close the dialog box in which From 26be3d4b2e6096b541e4ceafb25702ecf30ddde3 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Fri, 12 Jan 2024 09:40:25 +0000 Subject: [PATCH 7/8] clarify the method attributes invalid/missing default --- source | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source b/source index 302e7cfa359..f5e32e61f9a 100644 --- a/source +++ b/source @@ -56072,9 +56072,9 @@ form.method === input; // => true the form finds itself, if any, and otherwise not submit. -

The attribute's missing value default and invalid value default are both the GET state.

+

The method attribute's missing value default and invalid value default + are both the GET state.

The formmethod attribute has no missing value default, and its invalid value From 19fc7d7a600d89f7dbb2ce9861ea2b06f140409e Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Tue, 30 Jan 2024 09:55:09 +0000 Subject: [PATCH 8/8] correct input/method, button/method to use formmethod --- source | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source b/source index f5e32e61f9a..66c2618675a 100644 --- a/source +++ b/source @@ -56055,17 +56055,17 @@ form.method === input; // => true Brief description - get GET Indicates the form will use the HTTP GET method. - post POST Indicates the form will use the HTTP POST method. - dialog Dialog Indicates the form is intended to close the dialog box in which