Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revamp MIME type section #36

Merged
merged 18 commits into from
Dec 7, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
step 7 can be skipped due to EOF
  • Loading branch information
annevk committed Nov 28, 2017
commit 6c449ee443d79dc107380c3a27940d6a2fe6f754
6 changes: 3 additions & 3 deletions mimesniff.bs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ that does not contain U+003B (;).
skips past U+003D (=).)
</ol>

<li><p>Let <var>parameterValue</var> be null.
<li><p>Let <var>parameterValue</var> be the empty string.

<li>
<p>If <var>position</var> is not past the end of <var>input</var>, then:
Expand Down Expand Up @@ -336,8 +336,8 @@ that does not contain U+003B (;).
</ol>
</ol>

<li><p>If <var>parameterName</var> and <var>parameterValue</var> are not the empty string, and
<var>mimeType</var>'s <a for="MIME type">parameters</a>[<var>parameterName</var>]
<li><p>If neither <var>parameterName</var> nor <var>parameterValue</var> are the empty string,
and <var>mimeType</var>'s <a for="MIME type">parameters</a>[<var>parameterName</var>]
<a for=map lt=exist>does not exist</a>, then <a for=map>set</a> <var>mimeType</var>'s
<a for="MIME type">parameters</a>[<var>parameterName</var>] to <var>parameterValue</var>.
<!-- Chrome and Firefox implement last wins. -->
Expand Down