W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2013

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 01 Nov 2013 18:56:55 +0000
To: www-dom@w3.org
Message-ID: <bug-23707-4009@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:21 UTC