OLD | NEW |
1 Verifies that pointer event parameters are correct when fired through mouse even
ts. | 1 Verifies that pointer event parameters are correct when fired through mouse even
ts. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 ===== mouse tests ===== | 6 ===== mouse tests ===== |
7 --- move mouse into target --- | 7 --- move mouse into target --- |
8 Received pointerover | 8 Received pointerover |
9 Received pointerenter | 9 Received pointerenter |
10 Received mouseover | 10 Received mouseover |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 PASS lastPointerEvents[0].y is 21 | 690 PASS lastPointerEvents[0].y is 21 |
691 PASS lastPointerEvents[0].button is -1 | 691 PASS lastPointerEvents[0].button is -1 |
692 PASS lastPointerEvents[0].buttons is 0 | 692 PASS lastPointerEvents[0].buttons is 0 |
693 PASS lastPointerEvents[0].pressure is 0 | 693 PASS lastPointerEvents[0].pressure is 0 |
694 PASS lastPointerEvents[0].tiltX is 0 | 694 PASS lastPointerEvents[0].tiltX is 0 |
695 PASS lastPointerEvents[0].tiltY is 0 | 695 PASS lastPointerEvents[0].tiltY is 0 |
696 PASS lastPointerEvents[0].width is 1 | 696 PASS lastPointerEvents[0].width is 1 |
697 PASS lastPointerEvents[0].height is 1 | 697 PASS lastPointerEvents[0].height is 1 |
698 PASS lastPointerEvents[0].view.name is "mainWindow" | 698 PASS lastPointerEvents[0].view.name is "mainWindow" |
699 | 699 |
700 ===== pen tests ===== | 700 ===== pen tests (draw mode) ===== |
701 --- move pen into target --- | 701 --- move pen into target --- |
702 Received pointerover | 702 Received pointerover |
703 Received pointerenter | 703 Received pointerenter |
704 Received mouseover | 704 Received mouseover |
705 PASS lastPointerEvents.length is 2 | 705 PASS lastPointerEvents.length is 2 |
706 PASS lastPointerEvents[0].type is "pointerover" | 706 PASS lastPointerEvents[0].type is "pointerover" |
707 PASS lastPointerEvents[0].bubbles is true | 707 PASS lastPointerEvents[0].bubbles is true |
708 PASS lastPointerEvents[0].cancelable is true | 708 PASS lastPointerEvents[0].cancelable is true |
709 PASS lastPointerEvents[0].pointerId is 2 | 709 PASS lastPointerEvents[0].pointerId is 2 |
710 PASS lastPointerEvents[0].pointerType is "pen" | 710 PASS lastPointerEvents[0].pointerType is "pen" |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
944 PASS lastPointerEvents[0].y is 21 | 944 PASS lastPointerEvents[0].y is 21 |
945 PASS lastPointerEvents[0].button is -1 | 945 PASS lastPointerEvents[0].button is -1 |
946 PASS lastPointerEvents[0].buttons is 0 | 946 PASS lastPointerEvents[0].buttons is 0 |
947 PASS lastPointerEvents[0].pressure is 0 | 947 PASS lastPointerEvents[0].pressure is 0 |
948 PASS lastPointerEvents[0].tiltX is 45 | 948 PASS lastPointerEvents[0].tiltX is 45 |
949 PASS lastPointerEvents[0].tiltY is -34 | 949 PASS lastPointerEvents[0].tiltY is -34 |
950 PASS lastPointerEvents[0].width is 1 | 950 PASS lastPointerEvents[0].width is 1 |
951 PASS lastPointerEvents[0].height is 1 | 951 PASS lastPointerEvents[0].height is 1 |
952 PASS lastPointerEvents[0].view.name is "mainWindow" | 952 PASS lastPointerEvents[0].view.name is "mainWindow" |
953 | 953 |
| 954 ===== pen tests (erase mode) ===== |
| 955 --- move pen into target --- |
| 956 Received pointerover |
| 957 Received pointerenter |
| 958 Received mouseover |
| 959 PASS lastPointerEvents.length is 2 |
| 960 PASS lastPointerEvents[0].type is "pointerover" |
| 961 PASS lastPointerEvents[0].bubbles is true |
| 962 PASS lastPointerEvents[0].cancelable is true |
| 963 PASS lastPointerEvents[0].pointerId is 3 |
| 964 PASS lastPointerEvents[0].pointerType is "pen" |
| 965 PASS lastPointerEvents[0].isPrimary is true |
| 966 PASS lastPointerEvents[0].clientX is 23 |
| 967 PASS lastPointerEvents[0].clientY is 31 |
| 968 PASS lastPointerEvents[0].layerX is 23 |
| 969 PASS lastPointerEvents[0].layerY is 31 |
| 970 PASS lastPointerEvents[0].movementX is 0 |
| 971 PASS lastPointerEvents[0].movementY is 0 |
| 972 PASS lastPointerEvents[0].offsetX is 5 |
| 973 PASS lastPointerEvents[0].offsetY is 5 |
| 974 PASS lastPointerEvents[0].pageX is 23 |
| 975 PASS lastPointerEvents[0].pageY is 31 |
| 976 PASS lastPointerEvents[0].screenX is 23 |
| 977 PASS lastPointerEvents[0].screenY is 31 |
| 978 PASS lastPointerEvents[0].x is 23 |
| 979 PASS lastPointerEvents[0].y is 31 |
| 980 PASS lastPointerEvents[0].button is -1 |
| 981 PASS lastPointerEvents[0].buttons is 0 |
| 982 PASS lastPointerEvents[0].pressure is 0 |
| 983 PASS lastPointerEvents[0].tiltX is 0 |
| 984 PASS lastPointerEvents[0].tiltY is 0 |
| 985 PASS lastPointerEvents[0].width is 1 |
| 986 PASS lastPointerEvents[0].height is 1 |
| 987 PASS lastPointerEvents[0].view.name is "mainWindow" |
| 988 Received mouseenter |
| 989 PASS lastPointerEvents.length is 1 |
| 990 PASS lastPointerEvents[0].type is "pointerenter" |
| 991 PASS lastPointerEvents[0].bubbles is false |
| 992 PASS lastPointerEvents[0].cancelable is false |
| 993 PASS lastPointerEvents[0].pointerId is 3 |
| 994 PASS lastPointerEvents[0].pointerType is "pen" |
| 995 PASS lastPointerEvents[0].isPrimary is true |
| 996 PASS lastPointerEvents[0].clientX is 23 |
| 997 PASS lastPointerEvents[0].clientY is 31 |
| 998 PASS lastPointerEvents[0].layerX is 23 |
| 999 PASS lastPointerEvents[0].layerY is 31 |
| 1000 PASS lastPointerEvents[0].movementX is 0 |
| 1001 PASS lastPointerEvents[0].movementY is 0 |
| 1002 PASS lastPointerEvents[0].offsetX is 5 |
| 1003 PASS lastPointerEvents[0].offsetY is 5 |
| 1004 PASS lastPointerEvents[0].pageX is 23 |
| 1005 PASS lastPointerEvents[0].pageY is 31 |
| 1006 PASS lastPointerEvents[0].screenX is 23 |
| 1007 PASS lastPointerEvents[0].screenY is 31 |
| 1008 PASS lastPointerEvents[0].x is 23 |
| 1009 PASS lastPointerEvents[0].y is 31 |
| 1010 PASS lastPointerEvents[0].button is -1 |
| 1011 PASS lastPointerEvents[0].buttons is 0 |
| 1012 PASS lastPointerEvents[0].pressure is 0 |
| 1013 PASS lastPointerEvents[0].tiltX is 0 |
| 1014 PASS lastPointerEvents[0].tiltY is 0 |
| 1015 PASS lastPointerEvents[0].width is 1 |
| 1016 PASS lastPointerEvents[0].height is 1 |
| 1017 PASS lastPointerEvents[0].view.name is "mainWindow" |
| 1018 Received pointermove |
| 1019 Received mousemove |
| 1020 PASS lastPointerEvents.length is 1 |
| 1021 PASS lastPointerEvents[0].type is "pointermove" |
| 1022 PASS lastPointerEvents[0].bubbles is true |
| 1023 PASS lastPointerEvents[0].cancelable is true |
| 1024 PASS lastPointerEvents[0].pointerId is 3 |
| 1025 PASS lastPointerEvents[0].pointerType is "pen" |
| 1026 PASS lastPointerEvents[0].isPrimary is true |
| 1027 PASS lastPointerEvents[0].clientX is 23 |
| 1028 PASS lastPointerEvents[0].clientY is 31 |
| 1029 PASS lastPointerEvents[0].layerX is 23 |
| 1030 PASS lastPointerEvents[0].layerY is 31 |
| 1031 PASS lastPointerEvents[0].movementX is 0 |
| 1032 PASS lastPointerEvents[0].movementY is 0 |
| 1033 PASS lastPointerEvents[0].offsetX is 5 |
| 1034 PASS lastPointerEvents[0].offsetY is 5 |
| 1035 PASS lastPointerEvents[0].pageX is 23 |
| 1036 PASS lastPointerEvents[0].pageY is 31 |
| 1037 PASS lastPointerEvents[0].screenX is 23 |
| 1038 PASS lastPointerEvents[0].screenY is 31 |
| 1039 PASS lastPointerEvents[0].x is 23 |
| 1040 PASS lastPointerEvents[0].y is 31 |
| 1041 PASS lastPointerEvents[0].button is -1 |
| 1042 PASS lastPointerEvents[0].buttons is 0 |
| 1043 PASS lastPointerEvents[0].pressure is 0 |
| 1044 PASS lastPointerEvents[0].tiltX is 0 |
| 1045 PASS lastPointerEvents[0].tiltY is 0 |
| 1046 PASS lastPointerEvents[0].width is 1 |
| 1047 PASS lastPointerEvents[0].height is 1 |
| 1048 PASS lastPointerEvents[0].view.name is "mainWindow" |
| 1049 |
| 1050 --- move within target & tap --- |
| 1051 Received pointermove |
| 1052 Received mousemove |
| 1053 PASS lastPointerEvents.length is 1 |
| 1054 PASS lastPointerEvents[0].type is "pointermove" |
| 1055 PASS lastPointerEvents[0].bubbles is true |
| 1056 PASS lastPointerEvents[0].cancelable is true |
| 1057 PASS lastPointerEvents[0].pointerId is 3 |
| 1058 PASS lastPointerEvents[0].pointerType is "pen" |
| 1059 PASS lastPointerEvents[0].isPrimary is true |
| 1060 PASS lastPointerEvents[0].clientX is 33 |
| 1061 PASS lastPointerEvents[0].clientY is 41 |
| 1062 PASS lastPointerEvents[0].layerX is 33 |
| 1063 PASS lastPointerEvents[0].layerY is 41 |
| 1064 PASS lastPointerEvents[0].movementX is 0 |
| 1065 PASS lastPointerEvents[0].movementY is 0 |
| 1066 PASS lastPointerEvents[0].offsetX is 15 |
| 1067 PASS lastPointerEvents[0].offsetY is 15 |
| 1068 PASS lastPointerEvents[0].pageX is 33 |
| 1069 PASS lastPointerEvents[0].pageY is 41 |
| 1070 PASS lastPointerEvents[0].screenX is 33 |
| 1071 PASS lastPointerEvents[0].screenY is 41 |
| 1072 PASS lastPointerEvents[0].x is 33 |
| 1073 PASS lastPointerEvents[0].y is 41 |
| 1074 PASS lastPointerEvents[0].button is -1 |
| 1075 PASS lastPointerEvents[0].buttons is 0 |
| 1076 PASS lastPointerEvents[0].pressure is 0 |
| 1077 PASS lastPointerEvents[0].tiltX is 45 |
| 1078 PASS lastPointerEvents[0].tiltY is -34 |
| 1079 PASS lastPointerEvents[0].width is 1 |
| 1080 PASS lastPointerEvents[0].height is 1 |
| 1081 PASS lastPointerEvents[0].view.name is "mainWindow" |
| 1082 Received pointerdown |
| 1083 Received mousedown |
| 1084 PASS lastPointerEvents.length is 1 |
| 1085 PASS lastPointerEvents[0].type is "pointerdown" |
| 1086 PASS lastPointerEvents[0].bubbles is true |
| 1087 PASS lastPointerEvents[0].cancelable is true |
| 1088 PASS lastPointerEvents[0].pointerId is 3 |
| 1089 PASS lastPointerEvents[0].pointerType is "pen" |
| 1090 PASS lastPointerEvents[0].isPrimary is true |
| 1091 PASS lastPointerEvents[0].clientX is 33 |
| 1092 PASS lastPointerEvents[0].clientY is 41 |
| 1093 PASS lastPointerEvents[0].layerX is 33 |
| 1094 PASS lastPointerEvents[0].layerY is 41 |
| 1095 PASS lastPointerEvents[0].movementX is 0 |
| 1096 PASS lastPointerEvents[0].movementY is 0 |
| 1097 PASS lastPointerEvents[0].offsetX is 15 |
| 1098 PASS lastPointerEvents[0].offsetY is 15 |
| 1099 PASS lastPointerEvents[0].pageX is 33 |
| 1100 PASS lastPointerEvents[0].pageY is 41 |
| 1101 PASS lastPointerEvents[0].screenX is 33 |
| 1102 PASS lastPointerEvents[0].screenY is 41 |
| 1103 PASS lastPointerEvents[0].x is 33 |
| 1104 PASS lastPointerEvents[0].y is 41 |
| 1105 PASS lastPointerEvents[0].button is 0 |
| 1106 PASS lastPointerEvents[0].buttons is 33 |
| 1107 PASS lastPointerEvents[0].pressure is 0.75 |
| 1108 PASS lastPointerEvents[0].tiltX is 45 |
| 1109 PASS lastPointerEvents[0].tiltY is -34 |
| 1110 PASS lastPointerEvents[0].width is 1 |
| 1111 PASS lastPointerEvents[0].height is 1 |
| 1112 PASS lastPointerEvents[0].view.name is "mainWindow" |
| 1113 Received pointerup |
| 1114 Received mouseup |
| 1115 PASS lastPointerEvents.length is 1 |
| 1116 PASS lastPointerEvents[0].type is "pointerup" |
| 1117 PASS lastPointerEvents[0].bubbles is true |
| 1118 PASS lastPointerEvents[0].cancelable is true |
| 1119 PASS lastPointerEvents[0].pointerId is 3 |
| 1120 PASS lastPointerEvents[0].pointerType is "pen" |
| 1121 PASS lastPointerEvents[0].isPrimary is true |
| 1122 PASS lastPointerEvents[0].clientX is 33 |
| 1123 PASS lastPointerEvents[0].clientY is 41 |
| 1124 PASS lastPointerEvents[0].layerX is 33 |
| 1125 PASS lastPointerEvents[0].layerY is 41 |
| 1126 PASS lastPointerEvents[0].movementX is 0 |
| 1127 PASS lastPointerEvents[0].movementY is 0 |
| 1128 PASS lastPointerEvents[0].offsetX is 15 |
| 1129 PASS lastPointerEvents[0].offsetY is 15 |
| 1130 PASS lastPointerEvents[0].pageX is 33 |
| 1131 PASS lastPointerEvents[0].pageY is 41 |
| 1132 PASS lastPointerEvents[0].screenX is 33 |
| 1133 PASS lastPointerEvents[0].screenY is 41 |
| 1134 PASS lastPointerEvents[0].x is 33 |
| 1135 PASS lastPointerEvents[0].y is 41 |
| 1136 PASS lastPointerEvents[0].button is 0 |
| 1137 PASS lastPointerEvents[0].buttons is 0 |
| 1138 PASS lastPointerEvents[0].pressure is 0 |
| 1139 PASS lastPointerEvents[0].tiltX is 45 |
| 1140 PASS lastPointerEvents[0].tiltY is -34 |
| 1141 PASS lastPointerEvents[0].width is 1 |
| 1142 PASS lastPointerEvents[0].height is 1 |
| 1143 PASS lastPointerEvents[0].view.name is "mainWindow" |
| 1144 --- move pen out of target --- |
| 1145 Received pointerout |
| 1146 Received pointerleave |
| 1147 Received mouseout |
| 1148 PASS lastPointerEvents.length is 2 |
| 1149 PASS lastPointerEvents[0].type is "pointerout" |
| 1150 PASS lastPointerEvents[0].bubbles is true |
| 1151 PASS lastPointerEvents[0].cancelable is true |
| 1152 PASS lastPointerEvents[0].pointerId is 3 |
| 1153 PASS lastPointerEvents[0].pointerType is "pen" |
| 1154 PASS lastPointerEvents[0].isPrimary is true |
| 1155 PASS lastPointerEvents[0].clientX is 13 |
| 1156 PASS lastPointerEvents[0].clientY is 21 |
| 1157 PASS lastPointerEvents[0].layerX is 13 |
| 1158 PASS lastPointerEvents[0].layerY is 21 |
| 1159 PASS lastPointerEvents[0].movementX is 0 |
| 1160 PASS lastPointerEvents[0].movementY is 0 |
| 1161 PASS lastPointerEvents[0].offsetX is -5 |
| 1162 PASS lastPointerEvents[0].offsetY is -5 |
| 1163 PASS lastPointerEvents[0].pageX is 13 |
| 1164 PASS lastPointerEvents[0].pageY is 21 |
| 1165 PASS lastPointerEvents[0].screenX is 13 |
| 1166 PASS lastPointerEvents[0].screenY is 21 |
| 1167 PASS lastPointerEvents[0].x is 13 |
| 1168 PASS lastPointerEvents[0].y is 21 |
| 1169 PASS lastPointerEvents[0].button is -1 |
| 1170 PASS lastPointerEvents[0].buttons is 0 |
| 1171 PASS lastPointerEvents[0].pressure is 0 |
| 1172 PASS lastPointerEvents[0].tiltX is 45 |
| 1173 PASS lastPointerEvents[0].tiltY is -34 |
| 1174 PASS lastPointerEvents[0].width is 1 |
| 1175 PASS lastPointerEvents[0].height is 1 |
| 1176 PASS lastPointerEvents[0].view.name is "mainWindow" |
| 1177 Received mouseleave |
| 1178 PASS lastPointerEvents.length is 1 |
| 1179 PASS lastPointerEvents[0].type is "pointerleave" |
| 1180 PASS lastPointerEvents[0].bubbles is false |
| 1181 PASS lastPointerEvents[0].cancelable is false |
| 1182 PASS lastPointerEvents[0].pointerId is 3 |
| 1183 PASS lastPointerEvents[0].pointerType is "pen" |
| 1184 PASS lastPointerEvents[0].isPrimary is true |
| 1185 PASS lastPointerEvents[0].clientX is 13 |
| 1186 PASS lastPointerEvents[0].clientY is 21 |
| 1187 PASS lastPointerEvents[0].layerX is 13 |
| 1188 PASS lastPointerEvents[0].layerY is 21 |
| 1189 PASS lastPointerEvents[0].movementX is 0 |
| 1190 PASS lastPointerEvents[0].movementY is 0 |
| 1191 PASS lastPointerEvents[0].offsetX is -5 |
| 1192 PASS lastPointerEvents[0].offsetY is -5 |
| 1193 PASS lastPointerEvents[0].pageX is 13 |
| 1194 PASS lastPointerEvents[0].pageY is 21 |
| 1195 PASS lastPointerEvents[0].screenX is 13 |
| 1196 PASS lastPointerEvents[0].screenY is 21 |
| 1197 PASS lastPointerEvents[0].x is 13 |
| 1198 PASS lastPointerEvents[0].y is 21 |
| 1199 PASS lastPointerEvents[0].button is -1 |
| 1200 PASS lastPointerEvents[0].buttons is 0 |
| 1201 PASS lastPointerEvents[0].pressure is 0 |
| 1202 PASS lastPointerEvents[0].tiltX is 45 |
| 1203 PASS lastPointerEvents[0].tiltY is -34 |
| 1204 PASS lastPointerEvents[0].width is 1 |
| 1205 PASS lastPointerEvents[0].height is 1 |
| 1206 PASS lastPointerEvents[0].view.name is "mainWindow" |
| 1207 |
954 PASS successfullyParsed is true | 1208 PASS successfullyParsed is true |
955 | 1209 |
956 TEST COMPLETE | 1210 TEST COMPLETE |
957 | 1211 |
OLD | NEW |