- From: Maksim Lebedev <alessarik@gmail.com>
- Date: Fri, 22 Aug 2014 18:04:26 +0400
- To: public-pointer-events@w3.org
- Message-ID: <CAMDeA0ZRq5hd2+QW7nAE=qmGX9NQymMOqaWDQor9FOhxuOPWdw@mail.gmail.com>
Hi folks. I investigated test 11.1 and would like to inform something in this test, which confusing me. pointerevent_lostpointercapture_is_first-manual.html Test 11.1 have strange expected behavior and dis-corresponding description. Description: Press and hold left mouse button over "Set Capture" button. "gotpointercapture" should be logged inside of the black rectangle Release left mouse button. "lostpointercapture" should be logged inside of the black rectangle After release mouse button browser should fire such sequence of events: pointerup and lostpointercapture events. But test checks that lostpointercapture event should be asynchronous. This set up in following: on_event(captureButton, 'pointerdown', function(e) { if(isPointerCapture == false) { isPointerCapture = true; captureButton.value = 'Release Capture'; sPointerCapture(e); pointerupGot = false; } else { rPointerCapture(e); setTimeout(function() { isAsync = true; }); } }); This can be executing, if we second time put mouse on button (first mouse should be stay on button ) Other words, we can run test only with touch devices (because we should have ability to put down on button twice). And description of test has very otherwise description of action, which user should be doing. Other words, if user will doing what is in description, test always were failed on all browsers. I can assume that current version of test is incorrect, and test should be changes. Please, let me know your opinion. Thanks, Maksim Lebedev.
Received on Sunday, 24 August 2014 08:34:23 UTC