Home | History | Annotate | Download | only in touch
      1 This tests support for the document.createTouch API.
      2 
      3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
      4 
      5 
      6 PASS "createTouch" in document is true
      7 PASS touch is non-null.
      8 PASS touch.target is box
      9 PASS touch.identifier is 1
     10 PASS touch.pageX is 100
     11 PASS touch.pageY is 101
     12 PASS touch.screenX is 102
     13 PASS touch.screenY is 103
     14 PASS emptyTouch is non-null.
     15 PASS emptyTouch.target is null
     16 PASS emptyTouch.identifier is 0
     17 PASS emptyTouch.pageX is 0
     18 PASS emptyTouch.pageY is 0
     19 PASS emptyTouch.screenX is 0
     20 PASS emptyTouch.screenY is 0
     21 PASS badParamsTouch is non-null.
     22 PASS badParamsTouch.target is null
     23 PASS badParamsTouch.identifier is 0
     24 PASS badParamsTouch.pageX is 0
     25 PASS badParamsTouch.pageY is 0
     26 PASS badParamsTouch.screenX is 0
     27 PASS badParamsTouch.screenY is 104
     28 PASS successfullyParsed is true
     29 
     30 TEST COMPLETE
     31 
     32