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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent-expected.txt

Issue 1854003004: Import web-platform-tests@5a8700479d98852455bee6117558897867eb278a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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/imported/web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent-expected.txt
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent-expected.txt b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58e7c3eef5c3ed4883d8612c15a395644e0544f5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent-expected.txt
@@ -0,0 +1,13 @@
+This is a testharness.js-based test.
+PASS Adding open to 'details' should fire a toggle event at the 'details' element
+PASS Removing open from 'details' should fire a toggle event at the 'details' element
+PASS Adding open to 'details' (display:none) should fire a toggle event at the 'details' element
+PASS Adding open from 'details' (no children) should fire a toggle event at the 'details' element
+PASS Calling open twice on 'details' fires only one toggle event
+PASS Calling setAttribute('open', '') to 'details' should fire a toggle event at the 'details' element
+PASS Calling removeAttribute('open') to 'details' should fire a toggle event at the 'details' element
+FAIL Setting open=true to opened 'details' element should not fire a toggle event at the 'details' element assert_true: expected true got false
+PASS Setting open=false to closed 'details' element should not fire a toggle event at the 'details' element
+PASS Adding open to 'details' (not in the document) should fire a toggle event at the 'details' element
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698