<!DOCTYPE html>
<html>
  <head>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
  </head>
  <body>
    <script>
    test(function() {
      var parent1 = document.createElement("div");
      var child1 = document.createTextNode("aaa");
      var child2 = document.createTextNode("");
      var child3 = document.createTextNode("bb");

      var parent2 = document.createElement("div");

      parent1.appendChild(child1);
      parent1.appendChil