You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li>If either <var>element</var> is null or the following are all true:
277
+
<p>The definition of <code>createContextualFragment</code> has moved to <ahref="https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#the-createcontextualfragment()-method">the HTML Standard</a>.</p>
314
278
315
-
<ul>
316
-
<li><var>element</var>'s <a>node document</a> is an <a>HTML document</a>,
317
-
318
-
<li><var>element</var>'s <a>local name</a> is "<code>html</code>", and
319
-
320
-
<li><var>element</var>'s <adata-lt="concept namespace">namespace</a> is the
321
-
<a>HTML namespace</a>;
322
-
</ul>
323
-
324
-
<p>let <var>element</var> be a new <a>Element</a> with
325
-
326
-
<ul>
327
-
<li>"<code>body</code>" as its <a>local name</a>,
328
-
329
-
<li>The <a>HTML namespace</a> as its <adata-lt="concept namespace">namespace</a>, and
330
-
331
-
<li>The <a>context object</a>'s <a>node document</a> as its <a>node document</a>.
332
-
</ul>
333
-
334
-
<li>Let <var>fragment node</var> be the result of invoking the <a>fragment parsing algorithm</a>
335
-
with <var>fragment</var> as <var>markup</var>, and <var>element</var> as the
336
-
<var>context element</var>.
337
-
338
-
<li>Unmark all scripts in <var>fragment node</var> as "already started" and as "parser-inserted".
339
-
340
-
<li>Return the value of <var>fragment node</var>.
341
-
</ol>
342
279
</section><!-- end Extensions to the Range interface -->
0 commit comments