summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/html/details-open-toggle-event-expected.txt
blob: ca440f1d88bf5be183fcfc9e95a51cde3e1bc3cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Tests that a 'toggle' event is fired asynchronously whenever the open attribute is added to or removed from a details element.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS details.ontoggle.__proto__ is Function.prototype
PASS details.open is false
PASS toggleEventCount is 0
PASS toggleEventCountFromHTMLAttribute is 0
PASS toggleEventCount is 0
PASS toggleEventCountFromHTMLAttribute is 0
PASS testEvent.__proto__ is Event.prototype
PASS testEvent.type is "toggle"
PASS testEvent.__proto__ is Event.prototype
PASS testEvent.type is "toggle"
PASS toggleEventCount is 1
PASS toggleEventCountFromHTMLAttribute is 1
PASS details.open is true
PASS testEvent.__proto__ is Event.prototype
PASS testEvent.type is "toggle"
PASS testEvent.__proto__ is Event.prototype
PASS testEvent.type is "toggle"
PASS toggleEventCount is 2
PASS toggleEventCountFromHTMLAttribute is 2
PASS details.open is false
PASS successfullyParsed is true

TEST COMPLETE
details