File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6052,7 +6052,7 @@ if the script checks that the URL has the right hostname.
6052
6052
<h2 id=data-urls><code>data:</code> URLs</h2>
6053
6053
6054
6054
<p> For an informative description of <code> data:</code> URLs, see RFC 2397. This section replaces
6055
- that RFC's normative processing requirements. [[RFC2397]]
6055
+ that RFC's normative processing requirements to be compatible with deployed content . [[RFC2397]]
6056
6056
6057
6057
<p> A <dfn><code>data:</code> URL struct</dfn> is a <a>struct</a> that consists of a
6058
6058
<dfn for="data: URL struct">MIME type</dfn> (a <a for=/>MIME type</a> ) and a
@@ -6074,14 +6074,14 @@ that RFC's normative processing requirements. [[RFC2397]]
6074
6074
<li><p> Let <var> mimeType</var> be the result of <a>collecting a sequence of code points</a> that
6075
6075
are not equal to U+002C (,), given <var> position</var> .
6076
6076
6077
+ <li><p> <a>Strip leading and trailing ASCII whitespace</a> from <var> mimeType</var> .
6078
+
6077
6079
<li><p> If <var> position</var> is past the end of <var> input</var> , then return failure.
6078
6080
6079
6081
<li><p> Advance <var> position</var> by 1.
6080
6082
6081
6083
<li><p> Let <var> encodedBody</var> be the remainder of <var> input</var> .
6082
6084
6083
- <li><p> <a>Strip leading and trailing ASCII whitespace</a> from <var> mimeType</var> .
6084
-
6085
6085
<li><p> Let <var> body</var> be the <a>string percent decoding</a> of <var> encodedBody</var> .
6086
6086
6087
6087
<li>
You can’t perform that action at this time.
0 commit comments