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

Unified Diff: third_party/WebKit/LayoutTests/fast/html/summary-invisible-click.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/summary-invisible-click.html
diff --git a/third_party/WebKit/LayoutTests/fast/html/summary-invisible-click.html b/third_party/WebKit/LayoutTests/fast/html/summary-invisible-click.html
deleted file mode 100644
index 3889288bfdf293f704c631335aad983a713cc0fe..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/html/summary-invisible-click.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-
-<details style="display:none">
-<summary>Click me</summary>
-Blah, blah, ...
-</detail>
-
-<script>
-test(() => {
- const summary = document.querySelector('summary');
- const details = document.querySelector('details');
- assert_false(details.open);
- summary.click();
- assert_true(details.open);
- summary.click();
- assert_false(details.open);
-}, 'click() on hidden SUMMARY should toggle DETAILS.');
-</script>

Powered by Google App Engine
This is Rietveld 408576698