diff --git a/index.html b/index.html index 3b65c03..3bae07f 100644 --- a/index.html +++ b/index.html @@ -272,73 +272,10 @@

Extensibility

Extensions to the Range interface

-
-    partial interface Range {
-      [CEReactions, NewObject] DocumentFragment createContextualFragment(HTMLString fragment);
-    };
-  
- -
-
docFragment = range . createContextualFragment ( fragment ) -
Returns a DocumentFragment, created from the markup string - fragment using range's start node as the context in which - fragment is parsed. -
- -

The createContextualFragment(fragment) method - must run these steps: - -

    -
  1. Let node be the context object's start node. - -

    Let element be as follows, depending on node's interface: - -

    -
    Document -
    DocumentFragment -
    null - -
    Element -
    node - -
    Text -
    Comment -
    node's parent element - -
    DocumentType -
    ProcessingInstruction -
    [[DOM4]] prevents this case. -
    + -
  2. If either element is null or the following are all true: +

    The definition of createContextualFragment has moved to the HTML Standard.

    - - -

    let element be a new Element with - -

    - -
  3. Let fragment node be the result of invoking the fragment parsing algorithm - with fragment as markup, and element as the - context element. - -
  4. Unmark all scripts in fragment node as "already started" and as "parser-inserted". - -
  5. Return the value of fragment node. -
@@ -1517,12 +1454,6 @@

Dependencies

- - The Trusted Types [[TRUSTED-TYPES]] specification defines: - -