*** empty log message ***
authorcmontane
Fri, 10 Apr 2009 03:19:24 +0900
changeset 115 1955181bc2fc
parent 114 ca359a6c1275
child 116 febaa509f7f2
*** empty log message ***
tests/framework/DOMAttrModified/NIST_DOMAttrModified_0009.html
tests/framework/DOMAttrModified/NIST_DOMAttrModified_0010.html
tests/framework/DOMAttrModified/NIST_DOMAttrModified_0011.html
tests/framework/DOMAttrModified/NIST_DOMAttrModified_0012.html
tests/framework/DOMAttrModified/NIST_DOMAttrModified_0013.html
tests/framework/DOMAttrModified/NIST_DOMAttrModified_0014.html
tests/framework/DOMAttrModified/NIST_DOMAttrModified_0015.html
tests/framework/DOMAttrModified/NIST_DOMAttrModified_0016.html
tests/framework/DOMAttrModified/vendor_functions.js
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0065.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0066.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0067.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0068.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0069.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0070.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0071.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0072.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0073.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0074.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0075.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0076.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0077.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0078.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0079.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0080.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0081.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0082.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0083.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0084.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0085.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0086.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0087.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0088.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0089.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0090.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0091.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0092.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0093.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0094.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0095.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0096.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0097.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0098.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0099.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0100.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0101.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0102.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0103.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0104.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0105.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0106.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0107.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0108.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0109.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0110.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0111.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0112.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0113.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0114.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0115.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0116.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0117.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0118.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0119.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0120.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0121.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0122.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0123.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0124.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0125.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0126.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0127.html
tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0128.html
tests/framework/DOMNodeInserted/vendor_functions.js
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0065.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0066.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0067.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0068.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0069.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0070.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0071.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0072.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0073.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0074.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0075.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0076.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0077.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0078.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0079.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0080.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0081.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0082.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0083.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0084.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0085.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0086.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0087.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0088.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0089.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0090.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0091.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0092.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0093.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0094.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0095.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0096.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0097.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0098.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0099.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0100.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0101.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0102.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0103.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0104.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0105.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0106.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0107.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0108.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0109.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0110.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0111.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0112.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0113.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0114.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0115.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0116.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0117.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0118.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0119.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0120.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0121.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0122.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0123.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0124.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0125.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0126.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0127.html
tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0128.html
tests/framework/DOMNodeInsertedIntoDocument/vendor_functions.js
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0065.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0066.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0067.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0068.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0069.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0070.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0071.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0072.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0073.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0074.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0075.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0076.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0077.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0078.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0079.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0080.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0081.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0082.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0083.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0084.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0085.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0086.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0087.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0088.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0089.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0090.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0091.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0092.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0093.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0094.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0095.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0096.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0097.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0098.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0099.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0100.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0101.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0102.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0103.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0104.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0105.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0106.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0107.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0108.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0109.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0110.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0111.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0112.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0113.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0114.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0115.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0116.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0117.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0118.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0119.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0120.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0121.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0122.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0123.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0124.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0125.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0126.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0127.html
tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0128.html
tests/framework/DOMNodeRemoved/vendor_functions.js
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0065.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0066.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0067.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0068.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0069.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0070.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0071.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0072.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0073.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0074.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0075.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0076.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0077.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0078.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0079.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0080.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0081.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0082.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0083.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0084.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0085.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0086.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0087.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0088.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0089.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0090.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0091.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0092.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0093.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0094.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0095.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0096.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0097.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0098.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0099.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0100.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0101.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0102.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0103.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0104.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0105.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0106.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0107.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0108.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0109.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0110.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0111.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0112.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0113.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0114.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0115.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0116.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0117.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0118.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0119.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0120.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0121.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0122.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0123.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0124.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0125.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0126.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0127.html
tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0128.html
tests/framework/DOMNodeRemovedFromDocument/vendor_functions.js
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMAttrModified/NIST_DOMAttrModified_0009.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMAttrModified_0009.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMAttrModified_0009.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMAttrModified_0009" in window) {
+              NIST_DOMAttrModified_0009("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMAttrModified event.
+      function w3c_reactToDOMAttrModified() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMAttrModified", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 1);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMAttrModifiedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX1";
+	}
+
+      // Function to be executed in reaction to a DOMAttrModified removal.
+      function w3c_reactToDOMAttrModifiedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMAttrModified", w3c_reactToDOMAttrModified(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMAttrModified", w3c_reactToDOMAttrModifiedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMAttrModified event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMAttrModified/NIST_DOMAttrModified_0010.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMAttrModified_0010.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMAttrModified_0010.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMAttrModified_0010" in window) {
+              NIST_DOMAttrModified_0010("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMAttrModified event.
+      function w3c_reactToDOMAttrModified() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMAttrModified", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMAttrModifiedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMAttrModified removal.
+      function w3c_reactToDOMAttrModifiedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMAttrModified", w3c_reactToDOMAttrModified(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMAttrModified", w3c_reactToDOMAttrModifiedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMAttrModified event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMAttrModified/NIST_DOMAttrModified_0011.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMAttrModified_0011.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMAttrModified_0011.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMAttrModified_0011" in window) {
+              NIST_DOMAttrModified_0011("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMAttrModified event.
+      function w3c_reactToDOMAttrModified() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMAttrModified", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 1);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMAttrModifiedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX1";
+	}
+
+      // Function to be executed in reaction to a DOMAttrModified removal.
+      function w3c_reactToDOMAttrModifiedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMAttrModified", w3c_reactToDOMAttrModified(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMAttrModified", w3c_reactToDOMAttrModifiedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMAttrModified event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMAttrModified/NIST_DOMAttrModified_0012.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMAttrModified_0012.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMAttrModified_0012.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMAttrModified_0012" in window) {
+              NIST_DOMAttrModified_0012("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMAttrModified event.
+      function w3c_reactToDOMAttrModified() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMAttrModified", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMAttrModifiedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMAttrModified removal.
+      function w3c_reactToDOMAttrModifiedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMAttrModified", w3c_reactToDOMAttrModified(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMAttrModified", w3c_reactToDOMAttrModifiedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMAttrModified event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMAttrModified/NIST_DOMAttrModified_0013.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMAttrModified_0013.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMAttrModified_0013.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMAttrModified_0013" in window) {
+              NIST_DOMAttrModified_0013("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMAttrModified event.
+      function w3c_reactToDOMAttrModified() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMAttrModified", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 1);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMAttrModifiedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX1";
+	}
+
+      // Function to be executed in reaction to a DOMAttrModified removal.
+      function w3c_reactToDOMAttrModifiedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMAttrModified", w3c_reactToDOMAttrModified(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMAttrModified", w3c_reactToDOMAttrModifiedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMAttrModified event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMAttrModified/NIST_DOMAttrModified_0014.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMAttrModified_0014.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMAttrModified_0014.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMAttrModified_0014" in window) {
+              NIST_DOMAttrModified_0014("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMAttrModified event.
+      function w3c_reactToDOMAttrModified() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMAttrModified", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMAttrModifiedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMAttrModified removal.
+      function w3c_reactToDOMAttrModifiedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMAttrModified", w3c_reactToDOMAttrModified(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMAttrModified", w3c_reactToDOMAttrModifiedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMAttrModified event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMAttrModified/NIST_DOMAttrModified_0015.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMAttrModified_0015.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMAttrModified_0015.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMAttrModified_0015" in window) {
+              NIST_DOMAttrModified_0015("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMAttrModified event.
+      function w3c_reactToDOMAttrModified() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMAttrModified", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 1);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMAttrModifiedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX1";
+	}
+
+      // Function to be executed in reaction to a DOMAttrModified removal.
+      function w3c_reactToDOMAttrModifiedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMAttrModified", w3c_reactToDOMAttrModified(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMAttrModified", w3c_reactToDOMAttrModifiedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMAttrModified event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMAttrModified/NIST_DOMAttrModified_0016.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMAttrModified_0016.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMAttrModified_0016.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMAttrModified_0016" in window) {
+              NIST_DOMAttrModified_0016("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMAttrModified event.
+      function w3c_reactToDOMAttrModified() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMAttrModified", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMAttrModifiedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMAttrModified removal.
+      function w3c_reactToDOMAttrModifiedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMAttrModified", w3c_reactToDOMAttrModified(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMAttrModified", w3c_reactToDOMAttrModifiedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMAttrModified event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMAttrModified/vendor_functions.js	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,10 @@
+var _actualResults = "actual";
+var _expectedResults = "expected";
+ 
+function vendor_reportResult()
+{
+    if (_actualResults == _expectedResults)
+       document.getElementById("result").setAttribute("class", "passed");
+     else          
+       document.getElementById("result").setAttribute("class", "failed");
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0065.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0065.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0065.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0065" in window) {
+              NIST_DOMNodeInserted_0065("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0066.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0066.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0066.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0066" in window) {
+              NIST_DOMNodeInserted_0066("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0067.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0067.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0067.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0067" in window) {
+              NIST_DOMNodeInserted_0067("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0068.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0068.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0068.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0068" in window) {
+              NIST_DOMNodeInserted_0068("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0069.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0069.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0069.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0069" in window) {
+              NIST_DOMNodeInserted_0069("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0070.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0070.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0070.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0070" in window) {
+              NIST_DOMNodeInserted_0070("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0071.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0071.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0071.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0071" in window) {
+              NIST_DOMNodeInserted_0071("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0072.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0072.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0072.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0072" in window) {
+              NIST_DOMNodeInserted_0072("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0073.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0073.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0073.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0073" in window) {
+              NIST_DOMNodeInserted_0073("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0074.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0074.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0074.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0074" in window) {
+              NIST_DOMNodeInserted_0074("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0075.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0075.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0075.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0075" in window) {
+              NIST_DOMNodeInserted_0075("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0076.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0076.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0076.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0076" in window) {
+              NIST_DOMNodeInserted_0076("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0077.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0077.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0077.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0077" in window) {
+              NIST_DOMNodeInserted_0077("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0078.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0078.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0078.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0078" in window) {
+              NIST_DOMNodeInserted_0078("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0079.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0079.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0079.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0079" in window) {
+              NIST_DOMNodeInserted_0079("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0080.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0080.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0080.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0080" in window) {
+              NIST_DOMNodeInserted_0080("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0081.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0081.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0081.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0081" in window) {
+              NIST_DOMNodeInserted_0081("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0082.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0082.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0082.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0082" in window) {
+              NIST_DOMNodeInserted_0082("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0083.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0083.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0083.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0083" in window) {
+              NIST_DOMNodeInserted_0083("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0084.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0084.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0084.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0084" in window) {
+              NIST_DOMNodeInserted_0084("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0085.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0085.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0085.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0085" in window) {
+              NIST_DOMNodeInserted_0085("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0086.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0086.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0086.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0086" in window) {
+              NIST_DOMNodeInserted_0086("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0087.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0087.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0087.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0087" in window) {
+              NIST_DOMNodeInserted_0087("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0088.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0088.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0088.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0088" in window) {
+              NIST_DOMNodeInserted_0088("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0089.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0089.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0089.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0089" in window) {
+              NIST_DOMNodeInserted_0089("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0090.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0090.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0090.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0090" in window) {
+              NIST_DOMNodeInserted_0090("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0091.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0091.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0091.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0091" in window) {
+              NIST_DOMNodeInserted_0091("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0092.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0092.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0092.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0092" in window) {
+              NIST_DOMNodeInserted_0092("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0093.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0093.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0093.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0093" in window) {
+              NIST_DOMNodeInserted_0093("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0094.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0094.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0094.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0094" in window) {
+              NIST_DOMNodeInserted_0094("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0095.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0095.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0095.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0095" in window) {
+              NIST_DOMNodeInserted_0095("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0096.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0096.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0096.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0096" in window) {
+              NIST_DOMNodeInserted_0096("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0097.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0097.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0097.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0097" in window) {
+              NIST_DOMNodeInserted_0097("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0098.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0098.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0098.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0098" in window) {
+              NIST_DOMNodeInserted_0098("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0099.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0099.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0099.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0099" in window) {
+              NIST_DOMNodeInserted_0099("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0100.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0100.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0100.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0100" in window) {
+              NIST_DOMNodeInserted_0100("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0101.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0101.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0101.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0101" in window) {
+              NIST_DOMNodeInserted_0101("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0102.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0102.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0102.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0102" in window) {
+              NIST_DOMNodeInserted_0102("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0103.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0103.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0103.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0103" in window) {
+              NIST_DOMNodeInserted_0103("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0104.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0104.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0104.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0104" in window) {
+              NIST_DOMNodeInserted_0104("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0105.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0105.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0105.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0105" in window) {
+              NIST_DOMNodeInserted_0105("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0106.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0106.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0106.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0106" in window) {
+              NIST_DOMNodeInserted_0106("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0107.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0107.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0107.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0107" in window) {
+              NIST_DOMNodeInserted_0107("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0108.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0108.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0108.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0108" in window) {
+              NIST_DOMNodeInserted_0108("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0109.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0109.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0109.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0109" in window) {
+              NIST_DOMNodeInserted_0109("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0110.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0110.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0110.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0110" in window) {
+              NIST_DOMNodeInserted_0110("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0111.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0111.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0111.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0111" in window) {
+              NIST_DOMNodeInserted_0111("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0112.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0112.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0112.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0112" in window) {
+              NIST_DOMNodeInserted_0112("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0113.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0113.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0113.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0113" in window) {
+              NIST_DOMNodeInserted_0113("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0114.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0114.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0114.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0114" in window) {
+              NIST_DOMNodeInserted_0114("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0115.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0115.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0115.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0115" in window) {
+              NIST_DOMNodeInserted_0115("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0116.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0116.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0116.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0116" in window) {
+              NIST_DOMNodeInserted_0116("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0117.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0117.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0117.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0117" in window) {
+              NIST_DOMNodeInserted_0117("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0118.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0118.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0118.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0118" in window) {
+              NIST_DOMNodeInserted_0118("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0119.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0119.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0119.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0119" in window) {
+              NIST_DOMNodeInserted_0119("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0120.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0120.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0120.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0120" in window) {
+              NIST_DOMNodeInserted_0120("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0121.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0121.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0121.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0121" in window) {
+              NIST_DOMNodeInserted_0121("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0122.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0122.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0122.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0122" in window) {
+              NIST_DOMNodeInserted_0122("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0123.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0123.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0123.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0123" in window) {
+              NIST_DOMNodeInserted_0123("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0124.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0124.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0124.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0124" in window) {
+              NIST_DOMNodeInserted_0124("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedtruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0125.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0125.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0125.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0125" in window) {
+              NIST_DOMNodeInserted_0125("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0126.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0126.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0126.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0126" in window) {
+              NIST_DOMNodeInserted_0126("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0127.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0127.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0127.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0127" in window) {
+              NIST_DOMNodeInserted_0127("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/NIST_DOMNodeInserted_0128.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInserted_0128.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInserted_0128.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInserted_0128" in window) {
+              NIST_DOMNodeInserted_0128("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInserted event.
+      function w3c_reactToDOMNodeInserted() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInserted", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInserted removal.
+      function w3c_reactToDOMNodeInsertedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInserted", w3c_reactToDOMNodeInserted(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInserted", w3c_reactToDOMNodeInsertedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInserted event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInserted/vendor_functions.js	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,10 @@
+var _actualResults = "actual";
+var _expectedResults = "expected";
+ 
+function vendor_reportResult()
+{
+    if (_actualResults == _expectedResults)
+       document.getElementById("result").setAttribute("class", "passed");
+     else          
+       document.getElementById("result").setAttribute("class", "failed");
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0065.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0065.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0065.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0065" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0065("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0066.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0066.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0066.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0066" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0066("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0067.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0067.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0067.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0067" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0067("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0068.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0068.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0068.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0068" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0068("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0069.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0069.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0069.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0069" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0069("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0070.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0070.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0070.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0070" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0070("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0071.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0071.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0071.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0071" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0071("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0072.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0072.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0072.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0072" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0072("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0073.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0073.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0073.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0073" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0073("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0074.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0074.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0074.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0074" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0074("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0075.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0075.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0075.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0075" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0075("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0076.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0076.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0076.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0076" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0076("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0077.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0077.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0077.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0077" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0077("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0078.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0078.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0078.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0078" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0078("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0079.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0079.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0079.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0079" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0079("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0080.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0080.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0080.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0080" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0080("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0081.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0081.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0081.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0081" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0081("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0082.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0082.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0082.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0082" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0082("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0083.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0083.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0083.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0083" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0083("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0084.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0084.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0084.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0084" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0084("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0085.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0085.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0085.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0085" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0085("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0086.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0086.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0086.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0086" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0086("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0087.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0087.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0087.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0087" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0087("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0088.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0088.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0088.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0088" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0088("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0089.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0089.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0089.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0089" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0089("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0090.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0090.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0090.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0090" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0090("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0091.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0091.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0091.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0091" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0091("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0092.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0092.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0092.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0092" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0092("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0093.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0093.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0093.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0093" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0093("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0094.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0094.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0094.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0094" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0094("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0095.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0095.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0095.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0095" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0095("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0096.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0096.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0096.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0096" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0096("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0097.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0097.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0097.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0097" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0097("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0098.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0098.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0098.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0098" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0098("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0099.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0099.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0099.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0099" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0099("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0100.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0100.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0100.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0100" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0100("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0101.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0101.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0101.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0101" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0101("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0102.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0102.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0102.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0102" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0102("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0103.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0103.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0103.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0103" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0103("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0104.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0104.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0104.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0104" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0104("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0105.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0105.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0105.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0105" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0105("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0106.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0106.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0106.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0106" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0106("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0107.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0107.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0107.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0107" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0107("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0108.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0108.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0108.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0108" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0108("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0109.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0109.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0109.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0109" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0109("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0110.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0110.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0110.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0110" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0110("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0111.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0111.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0111.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0111" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0111("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0112.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0112.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0112.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0112" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0112("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0113.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0113.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0113.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0113" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0113("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0114.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0114.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0114.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0114" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0114("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0115.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0115.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0115.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0115" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0115("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0116.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0116.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0116.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0116" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0116("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0117.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0117.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0117.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0117" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0117("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0118.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0118.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0118.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0118" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0118("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0119.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0119.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0119.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0119" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0119("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0120.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0120.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0120.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0120" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0120("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0121.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0121.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0121.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0121" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0121("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0122.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0122.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0122.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0122" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0122("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0123.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0123.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0123.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0123" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0123("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0124.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0124.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0124.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0124" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0124("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0125.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0125.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0125.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0125" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0125("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0126.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0126.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0126.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0126" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0126("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0127.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0127.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0127.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0127" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0127("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 2);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX2";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/NIST_DOMNodeInsertedIntoDocument_0128.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeInsertedIntoDocument_0128.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeInsertedIntoDocument_0128.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeInsertedIntoDocument_0128" in window) {
+              NIST_DOMNodeInsertedIntoDocument_0128("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeInsertedIntoDocument event.
+      function w3c_reactToDOMNodeInsertedIntoDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeInsertedIntoDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeInsertedIntoDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeInsertedIntoDocument removal.
+      function w3c_reactToDOMNodeInsertedIntoDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeInsertedIntoDocument", w3c_reactToDOMNodeInsertedIntoDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeInsertedIntoDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeInsertedIntoDocument/vendor_functions.js	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,10 @@
+var _actualResults = "actual";
+var _expectedResults = "expected";
+ 
+function vendor_reportResult()
+{
+    if (_actualResults == _expectedResults)
+       document.getElementById("result").setAttribute("class", "passed");
+     else          
+       document.getElementById("result").setAttribute("class", "failed");
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0065.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0065.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0065.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0065" in window) {
+              NIST_DOMNodeRemoved_0065("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruetrueElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0066.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0066.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0066.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0066" in window) {
+              NIST_DOMNodeRemoved_0066("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruetrueElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0067.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0067.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0067.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0067" in window) {
+              NIST_DOMNodeRemoved_0067("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruefalseElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0068.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0068.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0068.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0068" in window) {
+              NIST_DOMNodeRemoved_0068("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruefalseElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0069.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0069.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0069.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0069" in window) {
+              NIST_DOMNodeRemoved_0069("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsetrueElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0070.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0070.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0070.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0070" in window) {
+              NIST_DOMNodeRemoved_0070("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsetrueElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0071.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0071.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0071.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0071" in window) {
+              NIST_DOMNodeRemoved_0071("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsefalseElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0072.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0072.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0072.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0072" in window) {
+              NIST_DOMNodeRemoved_0072("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsefalseElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0073.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0073.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0073.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0073" in window) {
+              NIST_DOMNodeRemoved_0073("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruetrueElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0074.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0074.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0074.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0074" in window) {
+              NIST_DOMNodeRemoved_0074("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruetrueElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0075.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0075.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0075.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0075" in window) {
+              NIST_DOMNodeRemoved_0075("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruefalseElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0076.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0076.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0076.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0076" in window) {
+              NIST_DOMNodeRemoved_0076("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruefalseElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0077.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0077.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0077.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0077" in window) {
+              NIST_DOMNodeRemoved_0077("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsetrueElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0078.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0078.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0078.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0078" in window) {
+              NIST_DOMNodeRemoved_0078("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsetrueElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0079.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0079.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0079.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0079" in window) {
+              NIST_DOMNodeRemoved_0079("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsefalseElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0080.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0080.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0080.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0080" in window) {
+              NIST_DOMNodeRemoved_0080("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsefalseElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0081.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0081.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0081.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0081" in window) {
+              NIST_DOMNodeRemoved_0081("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruetrueElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0082.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0082.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0082.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0082" in window) {
+              NIST_DOMNodeRemoved_0082("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruetrueElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0083.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0083.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0083.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0083" in window) {
+              NIST_DOMNodeRemoved_0083("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruefalseElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0084.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0084.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0084.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0084" in window) {
+              NIST_DOMNodeRemoved_0084("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruefalseElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0085.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0085.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0085.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0085" in window) {
+              NIST_DOMNodeRemoved_0085("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsetrueElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0086.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0086.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0086.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0086" in window) {
+              NIST_DOMNodeRemoved_0086("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsetrueElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0087.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0087.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0087.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0087" in window) {
+              NIST_DOMNodeRemoved_0087("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsefalseElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0088.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0088.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0088.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0088" in window) {
+              NIST_DOMNodeRemoved_0088("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsefalseElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0089.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0089.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0089.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0089" in window) {
+              NIST_DOMNodeRemoved_0089("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruetrueElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0090.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0090.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0090.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0090" in window) {
+              NIST_DOMNodeRemoved_0090("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruetrueElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0091.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0091.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0091.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0091" in window) {
+              NIST_DOMNodeRemoved_0091("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruefalseElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0092.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0092.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0092.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0092" in window) {
+              NIST_DOMNodeRemoved_0092("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruefalseElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0093.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0093.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0093.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0093" in window) {
+              NIST_DOMNodeRemoved_0093("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsetrueElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0094.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0094.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0094.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0094" in window) {
+              NIST_DOMNodeRemoved_0094("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsetrueElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0095.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0095.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0095.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0095" in window) {
+              NIST_DOMNodeRemoved_0095("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsefalseElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0096.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0096.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0096.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0096" in window) {
+              NIST_DOMNodeRemoved_0096("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsefalseElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0097.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0097.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0097.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0097" in window) {
+              NIST_DOMNodeRemoved_0097("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruetrueElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0098.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0098.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0098.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0098" in window) {
+              NIST_DOMNodeRemoved_0098("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruetrueElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0099.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0099.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0099.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0099" in window) {
+              NIST_DOMNodeRemoved_0099("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruefalseElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0100.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0100.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0100.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0100" in window) {
+              NIST_DOMNodeRemoved_0100("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruefalseElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0101.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0101.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0101.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0101" in window) {
+              NIST_DOMNodeRemoved_0101("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsetrueElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0102.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0102.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0102.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0102" in window) {
+              NIST_DOMNodeRemoved_0102("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsetrueElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0103.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0103.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0103.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0103" in window) {
+              NIST_DOMNodeRemoved_0103("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsefalseElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0104.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0104.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0104.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0104" in window) {
+              NIST_DOMNodeRemoved_0104("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsefalseElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0105.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0105.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0105.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0105" in window) {
+              NIST_DOMNodeRemoved_0105("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruetrueElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0106.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0106.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0106.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0106" in window) {
+              NIST_DOMNodeRemoved_0106("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruetrueElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0107.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0107.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0107.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0107" in window) {
+              NIST_DOMNodeRemoved_0107("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruefalseElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0108.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0108.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0108.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0108" in window) {
+              NIST_DOMNodeRemoved_0108("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruefalseElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0109.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0109.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0109.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0109" in window) {
+              NIST_DOMNodeRemoved_0109("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsetrueElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0110.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0110.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0110.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0110" in window) {
+              NIST_DOMNodeRemoved_0110("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsetrueElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0111.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0111.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0111.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0111" in window) {
+              NIST_DOMNodeRemoved_0111("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsefalseElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0112.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0112.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0112.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0112" in window) {
+              NIST_DOMNodeRemoved_0112("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsefalseElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0113.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0113.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0113.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0113" in window) {
+              NIST_DOMNodeRemoved_0113("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruetrueElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0114.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0114.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0114.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0114" in window) {
+              NIST_DOMNodeRemoved_0114("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruetrueElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0115.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0115.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0115.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0115" in window) {
+              NIST_DOMNodeRemoved_0115("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruefalseElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0116.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0116.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0116.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0116" in window) {
+              NIST_DOMNodeRemoved_0116("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruefalseElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0117.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0117.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0117.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0117" in window) {
+              NIST_DOMNodeRemoved_0117("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsetrueElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0118.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0118.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0118.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0118" in window) {
+              NIST_DOMNodeRemoved_0118("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsetrueElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0119.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0119.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0119.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0119" in window) {
+              NIST_DOMNodeRemoved_0119("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsefalseElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0120.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0120.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0120.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0120" in window) {
+              NIST_DOMNodeRemoved_0120("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsefalseElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0121.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0121.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0121.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0121" in window) {
+              NIST_DOMNodeRemoved_0121("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruetrueElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0122.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0122.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0122.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0122" in window) {
+              NIST_DOMNodeRemoved_0122("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruetrueElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0123.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0123.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0123.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0123" in window) {
+              NIST_DOMNodeRemoved_0123("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruefalseElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0124.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0124.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0124.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0124" in window) {
+              NIST_DOMNodeRemoved_0124("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", true, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedtruefalseElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0125.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0125.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0125.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0125" in window) {
+              NIST_DOMNodeRemoved_0125("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsetrueElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0126.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0126.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0126.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0126" in window) {
+              NIST_DOMNodeRemoved_0126("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, true, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsetrueElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0127.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0127.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0127.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0127" in window) {
+              NIST_DOMNodeRemoved_0127("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsefalseElementXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/NIST_DOMNodeRemoved_0128.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemoved_0128.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemoved_0128.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemoved_0128" in window) {
+              NIST_DOMNodeRemoved_0128("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemoved event.
+      function w3c_reactToDOMNodeRemoved() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemoved", false, false, Element, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedfalsefalseElementXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemoved removal.
+      function w3c_reactToDOMNodeRemovedRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemoved(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemoved", w3c_reactToDOMNodeRemovedRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemoved event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemoved/vendor_functions.js	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,10 @@
+var _actualResults = "actual";
+var _expectedResults = "expected";
+ 
+function vendor_reportResult()
+{
+    if (_actualResults == _expectedResults)
+       document.getElementById("result").setAttribute("class", "passed");
+     else          
+       document.getElementById("result").setAttribute("class", "failed");
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0065.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0065.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0065.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0065" in window) {
+              NIST_DOMNodeRemovedFromDocument_0065("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0066.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0066.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0066.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0066" in window) {
+              NIST_DOMNodeRemovedFromDocument_0066("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0067.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0067.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0067.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0067" in window) {
+              NIST_DOMNodeRemovedFromDocument_0067("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0068.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0068.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0068.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0068" in window) {
+              NIST_DOMNodeRemovedFromDocument_0068("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0069.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0069.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0069.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0069" in window) {
+              NIST_DOMNodeRemovedFromDocument_0069("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0070.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0070.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0070.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0070" in window) {
+              NIST_DOMNodeRemovedFromDocument_0070("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0071.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0071.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0071.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0071" in window) {
+              NIST_DOMNodeRemovedFromDocument_0071("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0072.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0072.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0072.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0072" in window) {
+              NIST_DOMNodeRemovedFromDocument_0072("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0073.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0073.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0073.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0073" in window) {
+              NIST_DOMNodeRemovedFromDocument_0073("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0074.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0074.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0074.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0074" in window) {
+              NIST_DOMNodeRemovedFromDocument_0074("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0075.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0075.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0075.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0075" in window) {
+              NIST_DOMNodeRemovedFromDocument_0075("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0076.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0076.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0076.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0076" in window) {
+              NIST_DOMNodeRemovedFromDocument_0076("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0077.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0077.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0077.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0077" in window) {
+              NIST_DOMNodeRemovedFromDocument_0077("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0078.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0078.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0078.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0078" in window) {
+              NIST_DOMNodeRemovedFromDocument_0078("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0079.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0079.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0079.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0079" in window) {
+              NIST_DOMNodeRemovedFromDocument_0079("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0080.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0080.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0080.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0080" in window) {
+              NIST_DOMNodeRemovedFromDocument_0080("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0081.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0081.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0081.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0081" in window) {
+              NIST_DOMNodeRemovedFromDocument_0081("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0082.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0082.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0082.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0082" in window) {
+              NIST_DOMNodeRemovedFromDocument_0082("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0083.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0083.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0083.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0083" in window) {
+              NIST_DOMNodeRemovedFromDocument_0083("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0084.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0084.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0084.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0084" in window) {
+              NIST_DOMNodeRemovedFromDocument_0084("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0085.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0085.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0085.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0085" in window) {
+              NIST_DOMNodeRemovedFromDocument_0085("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0086.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0086.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0086.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0086" in window) {
+              NIST_DOMNodeRemovedFromDocument_0086("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0087.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0087.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0087.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0087" in window) {
+              NIST_DOMNodeRemovedFromDocument_0087("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0088.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0088.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0088.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0088" in window) {
+              NIST_DOMNodeRemovedFromDocument_0088("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0089.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0089.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0089.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0089" in window) {
+              NIST_DOMNodeRemovedFromDocument_0089("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0090.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0090.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0090.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0090" in window) {
+              NIST_DOMNodeRemovedFromDocument_0090("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0091.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0091.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0091.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0091" in window) {
+              NIST_DOMNodeRemovedFromDocument_0091("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0092.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0092.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0092.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0092" in window) {
+              NIST_DOMNodeRemovedFromDocument_0092("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0093.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0093.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0093.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0093" in window) {
+              NIST_DOMNodeRemovedFromDocument_0093("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0094.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0094.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0094.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0094" in window) {
+              NIST_DOMNodeRemovedFromDocument_0094("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0095.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0095.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0095.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0095" in window) {
+              NIST_DOMNodeRemovedFromDocument_0095("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0096.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0096.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0096.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0096" in window) {
+              NIST_DOMNodeRemovedFromDocument_0096("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0097.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0097.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0097.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0097" in window) {
+              NIST_DOMNodeRemovedFromDocument_0097("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0098.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0098.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0098.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0098" in window) {
+              NIST_DOMNodeRemovedFromDocument_0098("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0099.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0099.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0099.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0099" in window) {
+              NIST_DOMNodeRemovedFromDocument_0099("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0100.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0100.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0100.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0100" in window) {
+              NIST_DOMNodeRemovedFromDocument_0100("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0101.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0101.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0101.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0101" in window) {
+              NIST_DOMNodeRemovedFromDocument_0101("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0102.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0102.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0102.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0102" in window) {
+              NIST_DOMNodeRemovedFromDocument_0102("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0103.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0103.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0103.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0103" in window) {
+              NIST_DOMNodeRemovedFromDocument_0103("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0104.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0104.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0104.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0104" in window) {
+              NIST_DOMNodeRemovedFromDocument_0104("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0105.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0105.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0105.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0105" in window) {
+              NIST_DOMNodeRemovedFromDocument_0105("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0106.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0106.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0106.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0106" in window) {
+              NIST_DOMNodeRemovedFromDocument_0106("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0107.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0107.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0107.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0107" in window) {
+              NIST_DOMNodeRemovedFromDocument_0107("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0108.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0108.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0108.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0108" in window) {
+              NIST_DOMNodeRemovedFromDocument_0108("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0109.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0109.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0109.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0109" in window) {
+              NIST_DOMNodeRemovedFromDocument_0109("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0110.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0110.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0110.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0110" in window) {
+              NIST_DOMNodeRemovedFromDocument_0110("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0111.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0111.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0111.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0111" in window) {
+              NIST_DOMNodeRemovedFromDocument_0111("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0112.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0112.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0112.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0112" in window) {
+              NIST_DOMNodeRemovedFromDocument_0112("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0113.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0113.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0113.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0113" in window) {
+              NIST_DOMNodeRemovedFromDocument_0113("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0114.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0114.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0114.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0114" in window) {
+              NIST_DOMNodeRemovedFromDocument_0114("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0115.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0115.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0115.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0115" in window) {
+              NIST_DOMNodeRemovedFromDocument_0115("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0116.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0116.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0116.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0116" in window) {
+              NIST_DOMNodeRemovedFromDocument_0116("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0117.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0117.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0117.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0117" in window) {
+              NIST_DOMNodeRemovedFromDocument_0117("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0118.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0118.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0118.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0118" in window) {
+              NIST_DOMNodeRemovedFromDocument_0118("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0119.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0119.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0119.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0119" in window) {
+              NIST_DOMNodeRemovedFromDocument_0119("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0120.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0120.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0120.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0120" in window) {
+              NIST_DOMNodeRemovedFromDocument_0120("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0121.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0121.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0121.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0121" in window) {
+              NIST_DOMNodeRemovedFromDocument_0121("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0122.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0122.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0122.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0122" in window) {
+              NIST_DOMNodeRemovedFromDocument_0122("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0123.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0123.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0123.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0123" in window) {
+              NIST_DOMNodeRemovedFromDocument_0123("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0124.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0124.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0124.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0124" in window) {
+              NIST_DOMNodeRemovedFromDocument_0124("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", true, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumenttruefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0125.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0125.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0125.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0125" in window) {
+              NIST_DOMNodeRemovedFromDocument_0125("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0126.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0126.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0126.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0126" in window) {
+              NIST_DOMNodeRemovedFromDocument_0126("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, true, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsetrueXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0127.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0127.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0127.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0127" in window) {
+              NIST_DOMNodeRemovedFromDocument_0127("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", 3);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXX3";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/NIST_DOMNodeRemovedFromDocument_0128.html	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,120 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_DOMNodeRemovedFromDocument_0128.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_DOMNodeRemovedFromDocument_0128.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_DOMNodeRemovedFromDocument_0128" in window) {
+              NIST_DOMNodeRemovedFromDocument_0128("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to DOMNodeRemovedFromDocument event.
+      function w3c_reactToDOMNodeRemovedFromDocument() {
+        var evt = document.createEvent("MutationEvent");
+        evt.initMutationEventNS("www.example.com", "DOMNodeRemovedFromDocument", false, false, XXXXXXX, "XXXXXXX", "XXXXXXX", "XXXXXXX", null);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.relatedNode;
+               act += evt.prevValue;
+               act += evt.newValue;
+               act += evt.attrName;
+               act += evt.attrChange;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.comDOMNodeRemovedFromDocumentfalsefalseXXXXXXXXXXXXXXXXXXXXXXXXXXXXnull";
+	}
+
+      // Function to be executed in reaction to a DOMNodeRemovedFromDocument removal.
+      function w3c_reactToDOMNodeRemovedFromDocumentRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocument(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("DOMNodeRemovedFromDocument", w3c_reactToDOMNodeRemovedFromDocumentRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated DOMNodeRemovedFromDocument event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOMNodeRemovedFromDocument/vendor_functions.js	Fri Apr 10 03:19:24 2009 +0900
@@ -0,0 +1,10 @@
+var _actualResults = "actual";
+var _expectedResults = "expected";
+ 
+function vendor_reportResult()
+{
+    if (_actualResults == _expectedResults)
+       document.getElementById("result").setAttribute("class", "passed");
+     else          
+       document.getElementById("result").setAttribute("class", "failed");
+}
\ No newline at end of file