Index: third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/modal-dialog-distributed-child-is-not-inert.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/modal-dialog-distributed-child-is-not-inert.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/modal-dialog-distributed-child-is-not-inert.html |
deleted file mode 100644 |
index eba625b8abf55eb7527159d161a2e73ec3c46ec4..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/modal-dialog-distributed-child-is-not-inert.html |
+++ /dev/null |
@@ -1,43 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<head> |
-<script src="../../../resources/js-test.js"></script> |
-</head> |
-<body> |
-<dialog> |
- <content></content> |
-</dialog> |
-<div id="host"> |
- <button>Click me</button> |
-</div> |
-<script> |
-function clickOn(element) |
-{ |
- if (!window.eventSender) |
- return; |
- var rect = element.getBoundingClientRect(); |
- eventSender.mouseMoveTo(rect.left + rect.width / 2, rect.top + rect.height / 2); |
- eventSender.mouseDown(); |
- eventSender.mouseUp(); |
-} |
- |
-jsTestIsAsync = true; |
-description('Tests that nodes transposed into the dialog are not inert. The test passes if you can click the button.'); |
- |
-dialog = document.querySelector('dialog'); |
-root = document.querySelector('#host').createShadowRoot(); |
-root.appendChild(dialog); |
-dialog.showModal(); |
- |
-button = document.querySelector('button'); |
-dialog.addEventListener('click', function(event) { |
- if (event.target == button) |
- testPassed('button was clicked'); |
- else |
- testFailed('button was not clicked'); |
- finishJSTest(); |
-}); |
-clickOn(button); |
-</script> |
-</body> |
-</html> |