*** empty log message ***
authorcmontane
Fri, 17 Oct 2008 04:33:48 +0900
changeset 70 e3d77f4ddf1c
parent 69 ca9795b09db6
child 71 bf19c896b3f2
*** empty log message ***
tests/framework/click/NIST_click_001.html
tests/framework/click/NIST_click_002.html
tests/framework/dbclick/NIST_dblclick_001.html
tests/framework/dbclick/NIST_dblclick_002.html
tests/framework/keydown/NIST_keydown_001.html
tests/framework/keydown/NIST_keydown_002.html
tests/framework/keyup/NIST_keyup_001.html
tests/framework/keyup/NIST_keyup_002.html
tests/framework/mousedown/NIST_mousedown_001.html
tests/framework/mousedown/NIST_mousedown_002.html
tests/framework/mousemove/NIST_mousemove-001.html
tests/framework/mousemove/NIST_mousemove-002.html
--- a/tests/framework/click/NIST_click_001.html	Thu Oct 09 23:35:38 2008 +0900
+++ b/tests/framework/click/NIST_click_001.html	Fri Oct 17 04:33:48 2008 +0900
@@ -56,7 +56,7 @@
 	    var evt = document.createEvent("MouseEvent");
 		evt.initMouseEvent("click", true, true, window,
     	0, 5, 0, 0, 0, true, true, true, true, 0, null);	
-    	var target = document.getElementById(id);
+    	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = evt.screenX;
     	_expectedResults = getExpectedResults();
--- a/tests/framework/click/NIST_click_002.html	Thu Oct 09 23:35:38 2008 +0900
+++ b/tests/framework/click/NIST_click_002.html	Fri Oct 17 04:33:48 2008 +0900
@@ -56,7 +56,7 @@
 	    var evt = document.createEvent("MouseEvent");
 		evt.initMouseEvent("click", true, true, window,
     	0, 0, 5, 0, 0, true, true, true, true, 0, null);	
-    	var target = document.getElementById(id);
+    	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
    
     	_actualResults = evt.screenX;
--- a/tests/framework/dbclick/NIST_dblclick_001.html	Thu Oct 09 23:35:38 2008 +0900
+++ b/tests/framework/dbclick/NIST_dblclick_001.html	Fri Oct 17 04:33:48 2008 +0900
@@ -56,7 +56,7 @@
 	    var evt = document.createEvent("MouseEvent");
 		evt.initMouseEvent("dblclick", true, true, window,
     	0, 5, 0, 0, 0, true, true, true, true, 0, null);	
-    	var target = document.getElementById(id);
+    	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = evt.screenX;
     	_expectedResults = getExpectedResults();
@@ -77,7 +77,7 @@
       function w3c_addEventListener() {
         var e1 = document.getElementById("tb1");
         if (document.addEventListener) {  
-           e1.addEventListener("dblclick", w3c_reactToDblClick(), false);
+           e1.addEventListener("click", w3c_reactToDblClick(), false);
         }
       }
 
@@ -85,7 +85,7 @@
       function w3c_removeEventListener() {
         var e1 = document.getElementById("tb1");
         if (document.removeEventListener) {  
-          e1.removeEventListener("dblclick", w3c_reactToDblClickRemoval(), false);
+          e1.removeEventListener("click", w3c_reactToDblClickRemoval(), false);
         }
       }
     </script>
--- a/tests/framework/dbclick/NIST_dblclick_002.html	Thu Oct 09 23:35:38 2008 +0900
+++ b/tests/framework/dbclick/NIST_dblclick_002.html	Fri Oct 17 04:33:48 2008 +0900
@@ -54,9 +54,9 @@
       // Function to be executed in reaction to dblclick event.
       function w3c_reactToDblClick() {
 	    var evt = document.createEvent("MouseEvent");
-		evt.initMouseEvent("dblclick", true, true, window,
+		evt.initMouseEvent("click", true, true, window,
     	0, -5, 0, 0, 0, true, true, true, true, 0, null);	
-    	var target = document.getElementById(id);
+    	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = evt.screenX;
     	_expectedResults = getExpectedResults();
@@ -77,7 +77,7 @@
       function w3c_addEventListener() {
         var e1 = document.getElementById("tb1");
         if (document.addEventListener) {  
-           e1.addEventListener("dblclick", w3c_reactToDblClick(), false);
+           e1.addEventListener("click", w3c_reactToDblClick(), false);
         }
       }
 
@@ -85,7 +85,7 @@
       function w3c_removeEventListener() {
         var e1 = document.getElementById("tb1");
         if (document.removeEventListener) {  
-          e1.removeEventListener("dblclick", w3c_reactToDblClickRemoval(), false);
+          e1.removeEventListener("click", w3c_reactToDblClickRemoval(), false);
         }
       }
     </script>
--- a/tests/framework/keydown/NIST_keydown_001.html	Thu Oct 09 23:35:38 2008 +0900
+++ b/tests/framework/keydown/NIST_keydown_001.html	Fri Oct 17 04:33:48 2008 +0900
@@ -56,7 +56,7 @@
 	    var evt = document.createEvent("KeyboardEvent");
 		evt.initKeyboardEvent("keydown", true, true, window,
     	"Alt", 0, "Control");	
-    	var target = document.getElementById(id);
+    	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = evt.keyIdentifier;
     	_expectedResults = getExpectedResults();
--- a/tests/framework/keydown/NIST_keydown_002.html	Thu Oct 09 23:35:38 2008 +0900
+++ b/tests/framework/keydown/NIST_keydown_002.html	Fri Oct 17 04:33:48 2008 +0900
@@ -56,7 +56,7 @@
 	    var evt = document.createEvent("KeyboardEvent");
 		evt.initKeyboardEvent("keydown", true, true, window,
     	"Control", 0, "Control");	
-    	var target = document.getElementById(id);
+    	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = evt.keyIdentifier;
     	_expectedResults = getExpectedResults();
--- a/tests/framework/keyup/NIST_keyup_001.html	Thu Oct 09 23:35:38 2008 +0900
+++ b/tests/framework/keyup/NIST_keyup_001.html	Fri Oct 17 04:33:48 2008 +0900
@@ -56,7 +56,7 @@
 	    var evt = document.createEvent("KeyboardEvent");
 		evt.initKeyboardEvent("keyup", true, true, window,
     	"Alt", 0, "Control");	
-    	var target = document.getElementById(id);
+    	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = evt.keyIdentifier;
     	_expectedResults = getExpectedResults();
--- a/tests/framework/keyup/NIST_keyup_002.html	Thu Oct 09 23:35:38 2008 +0900
+++ b/tests/framework/keyup/NIST_keyup_002.html	Fri Oct 17 04:33:48 2008 +0900
@@ -56,7 +56,7 @@
 	    var evt = document.createEvent("KeyboardEvent");
 		evt.initKeyboardEvent("keyup", true, true, window,
     	"Control", 0, "Control");	
-    	var target = document.getElementById(id);
+    	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = evt.keyIdentifier;
     	_expectedResults = getExpectedResults();
--- a/tests/framework/mousedown/NIST_mousedown_001.html	Thu Oct 09 23:35:38 2008 +0900
+++ b/tests/framework/mousedown/NIST_mousedown_001.html	Fri Oct 17 04:33:48 2008 +0900
@@ -56,7 +56,7 @@
 	    var evt = document.createEvent("MouseEvent");
 		evt.initMouseEvent("mousedown", true, true, window,
     	0, 5, 0, 0, 0, true, true, true, true, 0, null);	
-    	var target = document.getElementById(id);
+    	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = evt.screenX;
     	_expectedResults = getExpectedResults();
--- a/tests/framework/mousedown/NIST_mousedown_002.html	Thu Oct 09 23:35:38 2008 +0900
+++ b/tests/framework/mousedown/NIST_mousedown_002.html	Fri Oct 17 04:33:48 2008 +0900
@@ -56,7 +56,7 @@
 	    var evt = document.createEvent("MouseEvent");
 		evt.initMouseEvent("mousedown", true, true, window,
     	0, 5, 0, 0, 0, true, true, true, true, 0, null);	
-    	var target = document.getElementById(id);
+    	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = evt.screenX;
     	_expectedResults = getExpectedResults();
--- a/tests/framework/mousemove/NIST_mousemove-001.html	Thu Oct 09 23:35:38 2008 +0900
+++ b/tests/framework/mousemove/NIST_mousemove-001.html	Fri Oct 17 04:33:48 2008 +0900
@@ -56,7 +56,7 @@
 	    var evt = document.createEvent("MouseEvent");
 		evt.initMouseEvent("mousemove", true, true, window,
     	0, 5, 0, 0, 0, true, true, true, true, 0, null);	
-    	var target = document.getElementById(id);
+    	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = evt.screenX;
     	_expectedResults = getExpectedResults();
--- a/tests/framework/mousemove/NIST_mousemove-002.html	Thu Oct 09 23:35:38 2008 +0900
+++ b/tests/framework/mousemove/NIST_mousemove-002.html	Fri Oct 17 04:33:48 2008 +0900
@@ -56,7 +56,7 @@
 	    var evt = document.createEvent("MouseEvent");
 		evt.initMouseEvent("mousemove", true, true, window,
     	0, -5, 0, 0, 0, true, true, true, true, 0, null);	
-    	var target = document.getElementById(id);
+    	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = evt.screenX;
     	_expectedResults = getExpectedResults();