Permalink
Browse files

Remove 'type' from from data entries

This fixes part of whatwg/html#3648.
  • Loading branch information...
tkent-google authored and annevk committed May 8, 2018
1 parent 5c0d2ec commit acc2bf4a8e67fb13523f4ee35ff32be922eb9142
Showing with 5 additions and 6 deletions.
  1. +5 −6 url.bs
View
11 url.bs
@@ -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>.
@@ -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>.
@@ -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>

0 comments on commit acc2bf4

Please sign in to comment.