Lines Matching defs:div
1 var div = document.createElement("div");
2 div.id = "touchtarget";
3 div.style.width = "100px";
4 div.style.height = "100px";
5 div.style.backgroundColor = "blue";
29 div.addEventListener("touchstart", touchEventCallback, false);
30 div.addEventListener("touchmove", touchEventCallback, false);
31 div.addEventListener("touchend", touchEventCallback, false);
32 document.body.insertBefore(div, document.body.firstChild);
79 shouldBeEqualToString("lastEvent.targetTouches[0].target.tagName", "DIV");
83 shouldBeEqualToString("lastEvent.touches[0].target.tagName", "DIV");