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

Unified Diff: third_party/WebKit/LayoutTests/fast/html/details-clone.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-clone.html
diff --git a/third_party/WebKit/LayoutTests/fast/html/details-clone.html b/third_party/WebKit/LayoutTests/fast/html/details-clone.html
deleted file mode 100644
index 0aa5523c8e56af6a7debf5ce25721724acda8ff0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/html/details-clone.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-<script>
-function runTest()
-{
- var targetDetails = document.getElementById("targetDetails");
- var clonedDetails = targetDetails.cloneNode(true);
- document.body.appendChild(clonedDetails);
- var targetSummary = document.getElementById("targetSummary");
- var clonedSummary = targetSummary.cloneNode(true);
- targetDetails.appendChild(clonedSummary);
-
- if (!window.internals)
- return;
-
- // On cloned <details>, marker shadow element should be created
- var targetDetailsSummaryShadow = internals.shadowRoot(targetDetails.querySelector("summary"));
- targetMarkerPseudoId = internals.shadowPseudoId(targetDetailsSummaryShadow.firstChild);
- var clonedDetailsSummaryShadow = internals.shadowRoot(clonedDetails.querySelector("summary"));
- clonedMarkerPseudoId = internals.shadowPseudoId(clonedDetailsSummaryShadow.firstChild);
- shouldBe("targetMarkerPseudoId", "clonedMarkerPseudoId");
-}
-</script>
-<body onload="runTest()">
-<p id="description">Test to clone details and summary elements</p>
-<div id="console"></div>
-<details id="targetDetails" open>
- <summary id="targetSummary"></summary>
-</details>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698