Index: third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/dialog-open.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/dialog-open.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/dialog-open.html |
deleted file mode 100644 |
index a76097976e4505b6bdb29106b154098794052dbd..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/dialog-open.html |
+++ /dev/null |
@@ -1,26 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<head> |
-<script src="../../../resources/js-test.js"></script> |
-</head> |
-<body> |
-<dialog id="mydialog">It's my dialog.</dialog> |
-<script> |
-description("Tests that dialog is visible after show() is called and not visible after close() is called. bug 90931"); |
- |
-dialog = document.getElementById('mydialog'); |
-computedStyle = window.getComputedStyle(dialog, null); |
-shouldBe("computedStyle.getPropertyValue('display')", "'none'"); |
- |
-dialog.show(); |
-computedStyle = window.getComputedStyle(dialog, null); |
-shouldBe("computedStyle.getPropertyValue('display')", "'block'"); |
- |
-dialog.close(); |
-computedStyle = window.getComputedStyle(dialog, null); |
- |
-shouldBe("computedStyle.getPropertyValue('display')", "'none'"); |
-shouldThrow('dialog.close();', '"InvalidStateError: Failed to execute \'close\' on \'HTMLDialogElement\': The element does not have an \'open\' attribute, and therefore cannot be closed."'); |
-</script> |
-</body> |
-</html> |