Skip to content

Commit

Permalink
Remove 'type' from from data entries
Browse files Browse the repository at this point in the history
This fixes part of whatwg/html#3648.
  • Loading branch information
tkent-google authored and annevk committed May 8, 2018
1 parent 5c0d2ec commit acc2bf4
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions url.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2475,8 +2475,8 @@ takes a byte sequence <var>input</var> and then runs these steps:

<p>The
<dfn export id=concept-urlencoded-serializer lt='urlencoded serializer'><code>application/x-www-form-urlencoded</code> serializer</dfn>
takes a list of name-value or name-value-type tuples <var>tuples</var>, optionally with an
<a for=/>encoding</a> <var>encoding override</var>, and then runs these steps:
takes a list of name-value tuples <var>tuples</var>, optionally with an <a for=/>encoding</a>
<var>encoding override</var>, and then runs these steps:

<ol>
<li><p>Let <var>encoding</var> be <a>UTF-8</a>.
Expand All @@ -2495,8 +2495,7 @@ takes a list of name-value or name-value-type tuples <var>tuples</var>, optional

<li><p>Let <var>value</var> be <var>tuple</var>'s value.

<li><p>If <var>tuple</var> has a type and it is "<code>file</code>", then set <var>value</var> to
<var>value</var>'s filename.
<li><p>If <var>value</var> is a file, then set <var>value</var> to <var>value</var>'s filename.

<li><p>Set <var>value</var> to the result of <a lt="urlencoded byte serializer">serializing</a>
the result of <a lt=encode>encoding</a> <var>value</var>, using <var>encoding</var>.
Expand All @@ -2511,8 +2510,8 @@ takes a list of name-value or name-value-type tuples <var>tuples</var>, optional
<li>Return <var>output</var>.
</ol>

<p class="note no-backref">The <cite>HTML standard</cite> invokes this algorithm with
name-value-type tuples. [[HTML]]
<p class="note no-backref">The <cite>HTML standard</cite> invokes this algorithm with values that
are files. [[HTML]]


<h3 id=urlencoded-hooks>Hooks</h3>
Expand Down

0 comments on commit acc2bf4

Please sign in to comment.