gecko-dev/testing/web-platform/tests/pointerevents/pointerevent_releasepointer...

72 строки
3.4 KiB
HTML
Исходник Обычный вид История

<!doctype html>
<html>
<head>
<title>Release capture on pointercancel</title>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" type="text/css" href="pointerevent_styles.css">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="pointerevent_support.js"></script>
</head>
<body class="scrollable">
<h1>Pointer Events Capture Test - release capture on pointercancel</h1>
<h4>
Bug 1097230 - Update web-platform-tests to revision 9840b559b10e05f659932a835c11832db9e01c42, a=testonly --HG-- rename : testing/web-platform/meta/websockets/interfaces/WebSocket/events/011.html.ini => testing/web-platform/meta/IndexedDB/idbcursor_update_index5.htm.ini rename : testing/web-platform/meta/websockets/interfaces/WebSocket/events/011.html.ini => testing/web-platform/meta/IndexedDB/idbindex_get7.htm.ini rename : testing/web-platform/meta/websockets/interfaces/WebSocket/events/011.html.ini => testing/web-platform/meta/IndexedDB/idbindex_openCursor2.htm.ini rename : testing/web-platform/meta/websockets/interfaces/WebSocket/events/011.html.ini => testing/web-platform/meta/IndexedDB/idbindex_openKeyCursor3.htm.ini rename : testing/web-platform/moz.build => testing/web-platform/mozilla/tests/placeholder rename : testing/web-platform/moz.build => testing/web-platform/outbound/tests/placeholder rename : testing/web-platform/tests/dom/nodes/Document-createProcessingInstruction-literal-1.xhtml => testing/web-platform/tests/dom/nodes/ProcessingInstruction-literal-1.xhtml rename : testing/web-platform/tests/dom/nodes/Document-createProcessingInstruction-literal-2.xhtml => testing/web-platform/tests/dom/nodes/ProcessingInstruction-literal-2.xhtml rename : testing/web-platform/tests/pointerevents/pointerevent_lostpointercapture_for_disconnected_node.html => testing/web-platform/tests/pointerevents/pointerevent_lostpointercapture_for_disconnected_node-manual.html rename : testing/web-platform/tests/pointerevents/pointerevent_pointerleave_after_pointercancel_touch.html => testing/web-platform/tests/pointerevents/pointerevent_pointerleave_after_pointercancel_touch-manual.html rename : testing/web-platform/tests/pointerevents/pointerevent_pointerleave_after_pointerup_nohover.html => testing/web-platform/tests/pointerevents/pointerevent_pointerleave_after_pointerup_nohover-manual.html rename : testing/web-platform/tests/pointerevents/pointerevent_pointerout_after_pointercancel_touch.html => testing/web-platform/tests/pointerevents/pointerevent_pointerout_after_pointercancel_touch-manual.html rename : testing/web-platform/tests/pointerevents/pointerevent_pointerout_after_pointerup_nohover.html => testing/web-platform/tests/pointerevents/pointerevent_pointerout_after_pointerup_nohover-manual.html rename : testing/web-platform/tests/pointerevents/pointerevent_pointerout_pen.html => testing/web-platform/tests/pointerevents/pointerevent_pointerout_pen-manual.html rename : testing/web-platform/tests/pointerevents/pointerevent_setpointercapture_disconnected.html => testing/web-platform/tests/pointerevents/pointerevent_setpointercapture_disconnected-manual.html rename : testing/web-platform/tests/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/second-argument-null.html => testing/web-platform/tests/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/second-argument-undefined.html extra : rebase_source : 1fb6206eb45537037d28bebf5bc9de02791c4a17
2014-11-20 19:30:01 +03:00
Test Description: This test checks if setCapture/releaseCapture functions works properly. Complete the following actions:
<ol>
<li> Touch black rectangle and do not release your touch
<li> Move your touch to scroll the page. "lostpointercapture" should be logged inside of the black rectangle immediately after "pointercancel"
</ol>
</h4>
Test passes if the proper behavior of the events is observed.
<div id="target0" style="background:black; color:white"></div>
<script type='text/javascript'>
var pointercancelGot = false;
var count=0;
var detected_pointertypes = {};
var test_pointerEvent = async_test("pointer capture is released on pointercancel");
var target0 = document.getElementById('target0');
add_completion_callback(showPointerTypes);
window.onload = function() {
on_event(target0, 'pointerdown', function(e) {
detected_pointertypes[e.pointerType] = true;
test_pointerEvent.step(function () {
assert_equals(e.pointerType, "touch", "Test should be run using a touch as input");
});
Bug 1084367 - Upgrade wptrunner to 1.4 and web-platform-tests to 1b45197f111e5bb65607d89f7d385883849d005d, a=test-only --HG-- rename : testing/web-platform/meta/websockets/interfaces/WebSocket/events/011.html.ini => testing/web-platform/meta/IndexedDB/idbfactory_open12.htm.ini rename : testing/web-platform/meta/websockets/interfaces/WebSocket/constants/002.html.ini => testing/web-platform/meta/IndexedDB/idbfactory_open2.htm.ini rename : testing/web-platform/meta/websockets/interfaces/WebSocket/constants/002.html.ini => testing/web-platform/meta/IndexedDB/idbindex_getKey7.htm.ini rename : testing/web-platform/meta/websockets/interfaces/WebSocket/constants/002.html.ini => testing/web-platform/meta/IndexedDB/idbobjectstore_get.htm.ini rename : testing/web-platform/tests/conformance-checkers/html/attributes/accesskey/003-novalid.html => testing/web-platform/tests/conformance-checkers/html/attributes/accesskey/duplicate-key-labels-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/attributes/accesskey/004-novalid.html => testing/web-platform/tests/conformance-checkers/html/attributes/accesskey/multi-character-key-label-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/attributes/accesskey/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/attributes/accesskey/surrogate-pair-high-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/attributes/accesskey/002-novalid.html => testing/web-platform/tests/conformance-checkers/html/attributes/accesskey/surrogate-pair-low-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/attributes/data/003-novalid.html => testing/web-platform/tests/conformance-checkers/html/attributes/data/no-characters-after-hyphen-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/attributes/data/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/attributes/data/not-xml-serializable-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/attributes/lang/004-haswarn.html => testing/web-platform/tests/conformance-checkers/html/attributes/lang/deprecated-tag-haswarn.html rename : testing/web-platform/tests/conformance-checkers/html/attributes/lang/003-isvalid.html => testing/web-platform/tests/conformance-checkers/html/attributes/lang/empty-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/attributes/lang/005-novalid.html => testing/web-platform/tests/conformance-checkers/html/attributes/lang/extlang-bad-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/attributes/lang/002-novalid.html => testing/web-platform/tests/conformance-checkers/html/attributes/lang/xmllang-different-value-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/attributes/lang/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/attributes/lang/xmllang-only-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/attributes/lang/001-isvalid.html => testing/web-platform/tests/conformance-checkers/html/attributes/lang/xmllang-same-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/attributes/role/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/attributes/role/unrecognized-role-name-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/attributes/spellcheck/050-novalid.html => testing/web-platform/tests/conformance-checkers/html/attributes/spellcheck/value-bad-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/attributes/spellcheck/053-isvalid.html => testing/web-platform/tests/conformance-checkers/html/attributes/spellcheck/value-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/a/004-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/a/media-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/a/075-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/a/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/a/100-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/a/name-empty-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/abbr/015-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/abbr/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/abbr/015-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/abbr/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/address/029-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/address/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/address/029-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/address/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/area/005-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/area/media-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/area/049-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/area/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/area/049-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/area/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/audio/074-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/audio/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/audio/074-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/audio/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/base/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/base/href-and-target-missing-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/bdo/022-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/bdo/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/bdo/022-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/bdo/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/blockquote/028-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/blockquote/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/blockquote/028-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/blockquote/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/br/023-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/br/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/bdo/023-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/br/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/canvas/070-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/canvas/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/canvas/070-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/canvas/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/cite/021-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/cite/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/cite/021-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/cite/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/code/010-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/code/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/code/010-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/code/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/del/041-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/del/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/del/041-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/del/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/dfn/016-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/dfn/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/dfn/016-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/dfn/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/dialog/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/dialog/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/div/033-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/div/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/div/033-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/div/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/dl/032-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/dl/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/dl/032-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/dl/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/em/006-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/em/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/em/006-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/em/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/embed/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/embed/height-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/embed/002-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/embed/type-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/embed/003-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/embed/width-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/footer/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/footer/nested-footer-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/footer/003-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/footer/nested-header-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/h1/034-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/h1/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/h1/034-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/h1/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/h2/035-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/h2/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/h2/035-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/h2/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/h3/036-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/h3/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/h3/036-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/h3/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/h4/037-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/h4/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/h4/037-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/h4/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/h5/038-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/h5/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/h5/038-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/h5/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/h6/039-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/h6/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/h5/039-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/h6/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/header/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/header/nested-footer-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/header/002-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/header/nested-header-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/hr/026-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/hr/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/hr/026-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/hr/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/i/017-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/i/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/i/017-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/i/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/iframe/042-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/iframe/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/iframe/042-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/iframe/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/img/043-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/img/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/img/043-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/img/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/usemap/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/img/usemap-bad-value-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/img/050-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/img/usemap-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/img/051-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/img/width-height-negative-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/input/003-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/input/list-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/input/002-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/input/pattern-asterisk-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/input/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/input/pattern-paren-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/ins/040-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/ins/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/ins/040-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/ins/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/kbd/012-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/kbd/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/kbd/012-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/kbd/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/keygen/055-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/keygen/challenge-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/keygen/058-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/keygen/id-bad-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/keygen/059-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/keygen/id-missing-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/keygen/060-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/keygen/id-redundant-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/keygen/056-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/keygen/keytype-bad-value-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/keygen/057-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/keygen/keytype-empty-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/keygen/056-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/keygen/keytype-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/keygen/058-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/keygen/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/keygen/061-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/keygen/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/keygen/054-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/keygen/no-attributes-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/keygen/054-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/keygen/non-void-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/label/002-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/label/for-descendant-no-id-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/label/001-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/label/for-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/label/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/label/multiple-descendants-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/link/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/link/href-missing-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/map/048-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/map/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/map/048-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/map/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/mark/009-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/mark/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/noscript/005-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/noscript/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/object/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/object/data-type-missing-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/object/044-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/object/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/object/044-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/object/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/ol/031-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/ol/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/ol/031-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/ol/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/option/081-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/option/label-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/option/081-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/option/label-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/option/080-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/option/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/option/080-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/option/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/p/025-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/p/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/p/025-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/p/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/param/046-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/param/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/param/046-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/param/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/pre/027-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/pre/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/pre/027-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/pre/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/q/013-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/q/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/q/013-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/q/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/ruby/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/ruby/empty-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/ruby/002-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/ruby/missing-rt-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/s/011-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/s/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/samp/011-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/samp/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/samp/011-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/samp/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/script/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/script/language-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/small/008-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/small/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/small/008-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/small/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/span/014-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/span/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/span/014-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/span/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/strong/007-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/strong/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/strong/007-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/strong/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/style/104-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/style/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/style/017-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-as-div-child-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/style/016-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-as-p-child-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/style/015-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-in-head-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/style/016-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/style/017-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/style/018-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-multiple-adjacent-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/sub/020-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/sub/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/sub/020-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/sub/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/sup/019-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/sup/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/sup/019-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/sup/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/table/002-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/table/model-input-child-hidden-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/table/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/table/model-input-child-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/table/003-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/table/model-input-type-child-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/time/001-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/time/datetime-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/attributes/title/003-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/title/empty-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/attributes/title/002-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/title/missing-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/u/001-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/u/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/ul/030-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/ul/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/ul/030-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/ul/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/var/018-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/var/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/var/018-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/var/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/video/073-isvalid.html => testing/web-platform/tests/conformance-checkers/html/elements/video/model-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/video/073-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/video/model-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/obsolete/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/obsolete/acronym-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/obsolete/002-novalid.html => testing/web-platform/tests/conformance-checkers/html/obsolete/applet-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/obsolete/003-novalid.html => testing/web-platform/tests/conformance-checkers/html/obsolete/basefont-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/obsolete/004-novalid.html => testing/web-platform/tests/conformance-checkers/html/obsolete/big-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/obsolete/005-novalid.html => testing/web-platform/tests/conformance-checkers/html/obsolete/center-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/obsolete/006-novalid.html => testing/web-platform/tests/conformance-checkers/html/obsolete/dir-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/obsolete/007-novalid.html => testing/web-platform/tests/conformance-checkers/html/obsolete/font-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/obsolete/008-novalid.html => testing/web-platform/tests/conformance-checkers/html/obsolete/frameset-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/obsolete/009-novalid.html => testing/web-platform/tests/conformance-checkers/html/obsolete/noframes-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/obsolete/010-novalid.html => testing/web-platform/tests/conformance-checkers/html/obsolete/profile-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/obsolete/012-novalid.html => testing/web-platform/tests/conformance-checkers/html/obsolete/strike-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/obsolete/013-novalid.html => testing/web-platform/tests/conformance-checkers/html/obsolete/tt-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/other/045-novalid.html => testing/web-platform/tests/conformance-checkers/html/other/applet-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/other/044-novalid.html => testing/web-platform/tests/conformance-checkers/html/other/obj-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/parser/003-novalid.html => testing/web-platform/tests/conformance-checkers/html/parser/cr-charref-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/parser/008-novalid.html => testing/web-platform/tests/conformance-checkers/html/parser/range-charref-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/parser/002-novalid.html => testing/web-platform/tests/conformance-checkers/html/parser/u000b-charref-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/parser/001-novalid.html => testing/web-platform/tests/conformance-checkers/html/parser/u000b-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/parser/006-novalid.html => testing/web-platform/tests/conformance-checkers/html/parser/u007f-charref-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/parser/007-novalid.html => testing/web-platform/tests/conformance-checkers/html/parser/u10ffff-charref-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/parser/005-novalid.html => testing/web-platform/tests/conformance-checkers/html/parser/ufffe-charref-novalid.html rename : testing/web-platform/tests/conformance-checkers/html/parser/004-novalid.html => testing/web-platform/tests/conformance-checkers/html/parser/unassigned-charref-novalid.html rename : testing/web-platform/tests/websockets/interfaces/WebSocket/protocol/001.html => testing/web-platform/tests/websockets/interfaces/WebSocket/protocol/protocol-initial.html
2014-10-21 17:21:57 +04:00
isPointerCapture = true;
sPointerCapture(e);
pointercancelGot = false;
});
on_event(target0, 'gotpointercapture', function(e) {
log("gotpointercapture", document.getElementById('target0'));
});
// If the setPointerCapture method has been invoked on the pointer specified by pointerId, and the releasePointerCapture method has not been invoked, a lostpointercapture event must be dispatched to the element on which the setPointerCapture method was invoked. Furthermore, subsequent events for the specified pointer must follow normal hit testing mechanisms for determining the event target.
// TA: 4.4
on_event(target0, 'lostpointercapture', function(e) {
log("lostpointercapture", document.getElementById('target0'));
test_pointerEvent.step(function () {
assert_true(pointercancelGot, "pointercancel was received before lostpointercapture");
});
test_pointerEvent.done();
});
on_event(target0, 'pointercancel', function(e) {
log("pointercancel", target0);
pointercancelGot = true;
});
}
</script>
<h1>Pointer Events Capture Test</h1>
<div id="complete-notice">
<p>Test complete: Scroll to Summary to view Pass/Fail Results.</p>
<p>The following pointer types were detected: <span id="pointertype-log"></span>.</p>
</div>
<div id="log"></div>
</body>
</html>