[Bug 28061] New: "The before(nodes) method must run these steps: ..."

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28061

            Bug ID: 28061
           Summary: "The before(nodes) method must run these steps: ..."
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: annevk@annevk.nl
          Reporter: josh@joshmatthews.net
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org

https://dom.spec.whatwg.org/#interface-childnode

[[
The before(nodes) method must run these steps:

    If the context object does not have a parent, terminate these steps.
    Run the mutation method macro.

    Pre-insert node into the context object's parent before the context object. 

The after(nodes) method must run these steps:

    If the context object does not have a parent, terminate these steps.
    Run the mutation method macro.

    Pre-insert node into the context object's parent before the context
object's next sibling. 

The replaceWith(nodes) method must run these steps:

    If the context object does not have a parent, terminate these steps.
    Run the mutation method macro.

    Replace the context object with node within the context object's parent. 
]]

These steps only refer to a single node, not the collection of nodes and/or
DOMString values that can be passed to each method.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Friday, 20 February 2015 05:24:24 UTC