Skip to content

Commit 840e22f

Browse files
committed
Require UTF-8 for accept-charset
Fixes #3097.
1 parent 3e48877 commit 840e22f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

source

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42887,10 +42887,8 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
4288742887

4288842888
<p>The <dfn><code data-x="attr-form-accept-charset">accept-charset</code></dfn> attribute gives the
4288942889
character encodings that are to be used for the submission. If specified, the value must be an
42890-
<span>ordered set of unique space-separated tokens</span> that are <span>ASCII
42891-
case-insensitive</span>, and each token must be an <span>ASCII case-insensitive</span> match for
42892-
one of the <span data-x="encoding label">labels</span> of an <span>ASCII-compatible
42893-
encoding</span>. <ref spec=ENCODING></p>
42890+
<span>ASCII case-insensitive</span> match for "<code data-x="">UTF-8</code>". <ref
42891+
spec=ENCODING></p>
4289442892

4289542893
<p>The <dfn><code data-x="attr-form-name">name</code></dfn> attribute represents the
4289642894
<code>form</code>'s name within the <code data-x="dom-document-forms">forms</code> collection. The
@@ -118732,7 +118730,7 @@ interface <dfn>External</dfn> {
118732118730
<th> <code data-x="">accept-charset</code>
118733118731
<td> <code data-x="attr-form-accept-charset">form</code>
118734118732
<td> Character encodings to use for <span>form submission</span>
118735-
<td> <span>Ordered set of unique space-separated tokens</span>, <span>ASCII case-insensitive</span>, consisting of <span data-x="encoding label">labels</span> of <span data-x="ASCII-compatible encoding">ASCII-compatible encodings</span>*
118733+
<td> <span>ASCII case-insensitive</span> match for "<code data-x="">UTF-8</code>
118736118734
<tr>
118737118735
<th> <code data-x="">accesskey</code>
118738118736
<td> <span data-x="attr-accesskey">HTML elements</span>

0 commit comments

Comments
 (0)