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

Unified Diff: third_party/WebKit/LayoutTests/fast/html/details-click-controls.html

Issue 2670273002: Move tests for DETAILS and SUMMARY elements to html/details_summary/. (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/html/details-click-controls.html
diff --git a/third_party/WebKit/LayoutTests/fast/html/details-click-controls.html b/third_party/WebKit/LayoutTests/fast/html/details-click-controls.html
deleted file mode 100644
index 10e3e8af435b749f2bcfe13e7405f11b04749e6a..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/html/details-click-controls.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-</head>
-<body>
-<details id="d">
-<summary>
- <input type="button" value="button" id="buttonControl">
- <input type="text" value="text" id="textControl">
- <textarea value="textarea" id="textareaControl"></textarea>
- <div id="block">This is clickable summary text</div>
-</summary>
-This is a detail.
-</details>
-<script>
-function clickOn(id)
-{
- var control = document.getElementById(id);
- var x = control.offsetLeft;
- var y = control.offsetTop;
- var delta = 5;
- eventSender.mouseMoveTo(x + delta, y + delta);
- eventSender.mouseDown();
- eventSender.mouseUp();
-}
-
-if (window.eventSender) {
- details = document.getElementById("d");
- shouldBeFalse("details.open");
- clickOn("buttonControl");
- shouldBeFalse("details.open");
- clickOn("textControl");
- shouldBeFalse("details.open");
- clickOn("textareaControl");
- shouldBeFalse("details.open");
- clickOn("block");
- shouldBeTrue("details.open");
- details.style.display = "none";
-}
-
-
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698