[Bug 23707] New: Use a switch for the checks on children of a document

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

            Bug ID: 23707
           Summary: Use a switch for the checks on children of a document
           Product: WebAppsWG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: annevk@annevk.nl
          Reporter: Ms2ger@gmail.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org

In pre-insert and replace, step 6 ("If parent is a document, run these
substeps: …") uses a chain of ifs that would be more straightforward as a
switch on the node type.

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

Received on Friday, 1 November 2013 18:56:56 UTC