@@ -60180,8 +60180,10 @@ o............A....e
60180
60180
<p>then let <var>the script block's type string</var> for this <code>script</code> element be
60181
60181
"<code data-x="">text/javascript</code>".</p>
60182
60182
60183
- <p>Otherwise, if <var>el</var> has a <code data-x="attr-script-type">type</code> attribute,
60184
- then let <var>the script block's type string</var> be the value of that attribute.</p>
60183
+ <p>Otherwise, if <var>el</var> has a <code data-x="attr-script-type">type</code> attribute, then
60184
+ let <var>the script block's type string</var> be the value of that attribute with <span
60185
+ data-x="strip leading and trailing ASCII whitespace">leading and trailing ASCII whitespace
60186
+ stripped</span>.</p>
60185
60187
60186
60188
<p>Otherwise, <var>el</var> has a non-empty <code data-x="attr-script-language">language</code>
60187
60189
attribute; let <var>the script block's type string</var> be the concatenation of "<code
@@ -60195,10 +60197,9 @@ o............A....e
60195
60197
attribute present.</p>
60196
60198
</li>
60197
60199
60198
- <li><p>If <var>the script block's type string</var> with <span data-x="strip leading and
60199
- trailing ASCII whitespace">leading and trailing ASCII whitespace stripped</span> is a
60200
- <span>JavaScript MIME type essence match</span>, then set <var>el</var>'s <span
60201
- data-x="concept-script-type">type</span> to "<code data-x="">classic</code>".</p></li>
60200
+ <li><p>If <var>the script block's type string</var> is a <span>JavaScript MIME type essence
60201
+ match</span>, then set <var>el</var>'s <span data-x="concept-script-type">type</span> to "<code
60202
+ data-x="">classic</code>".</p></li>
60202
60203
60203
60204
<li><p>Otherwise, if <var>the script block's type string</var> is an <span>ASCII
60204
60205
case-insensitive</span> match for the string "<code data-x="">module</code>", then set
0 commit comments