| Index: third_party/WebKit/LayoutTests/imported/wpt/pointerevents/pointerevent_element_haspointercapture-manual.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/pointerevents/pointerevent_element_haspointercapture-manual.html b/third_party/WebKit/LayoutTests/imported/wpt/pointerevents/pointerevent_element_haspointercapture-manual.html
|
| index 1b479a64fa58a7403c5fbbd94e541dbbb37a6910..64afb8e02be3ff96ef15774a976fe80dde93d974 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/wpt/pointerevents/pointerevent_element_haspointercapture-manual.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/pointerevents/pointerevent_element_haspointercapture-manual.html
|
| @@ -35,8 +35,6 @@
|
| test_pointerEvent.step(function () {
|
| assert_equals(target0.hasPointerCapture(e.pointerId), false,
|
| "after target1.setPointerCapture, target0.hasPointerCapture should be false");
|
| - assert_equals(target1.hasPointerCapture(e.pointerId), true,
|
| - "after target1.setPointerCapture, target1.hasPointerCapture should be true");
|
| });
|
| target0.setPointerCapture(e.pointerId);
|
| set_capture_to_target0 = true;
|
| @@ -51,8 +49,6 @@
|
| test_pointerEvent.step(function () {
|
| assert_equals(target0.hasPointerCapture(e.pointerId), false,
|
| "after target0.releasePointerCapture, target0.hasPointerCapture should be false");
|
| - assert_equals(target1.hasPointerCapture(e.pointerId), false,
|
| - "after target0.releasePointerCapture, target1.hasPointerCapture should be false");
|
| });
|
| target0.setPointerCapture(e.pointerId);
|
| set_capture_to_target0 = true;
|
| @@ -93,13 +89,6 @@
|
| assert_equals(target0.hasPointerCapture(e.pointerId), false,
|
| "pointerup target0.hasPointerCapture should be false");
|
| });
|
| - });
|
| -
|
| - on_event(target1, "pointerup", function (e) {
|
| - test_pointerEvent.step(function () {
|
| - assert_equals(target1.hasPointerCapture(e.pointerId), false,
|
| - "pointerup target1.hasPointerCapture should be false");
|
| - });
|
| test_pointerEvent.done();
|
| });
|
| }
|
| @@ -110,18 +99,17 @@
|
| <h4>
|
| Test Description: This test checks if Element.hasPointerCapture returns value correctly
|
| <ol>
|
| - <li> Press black rectangle and do not release
|
| - <li> Move your pointer to purple rectangle
|
| - <li> Release the pointer
|
| - <li> Click purple rectangle
|
| + <li> Press black rectangle and do not release.
|
| + <li> Move your pointer to yellow rectangle.
|
| + <li> Release the pointer with no other move after that.
|
| </ol>
|
| </h4>
|
| <p>
|
| - <div id="target0" touch-action:none></div>
|
| - <div id="target1" touch-action:none></div>
|
| + <div id="target0" style="background:black"></div>
|
| + <div id="target1" style="background:yellow"></div>
|
| <div id="complete-notice">
|
| <p>The following pointer types were detected: <span id="pointertype-log"></span>.</p>
|
| </div>
|
| <div id="log"></div>
|
| </body>
|
| -</html>
|
| +</html>
|
|
|