Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/dialog-open.html

Issue 2671603003: Move DIALOG element tests to html/dialog/. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698