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

Side by Side Diff: LayoutTests/fast/html/details-open-toggle-event-expected.txt

Issue 252373002: Add ontoggle to GlobalEventHandlers and HTML attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Tests that a 'toggle' event is fired asynchronously whenever the open attribute is added to or removed from a details element. 1 Tests that a 'toggle' event is fired asynchronously whenever the open attribute is added to or removed from a details element.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS details.ontoggle.__proto__ is Function.prototype
6 PASS details.open is false 7 PASS details.open is false
7 PASS toggleEventCount is 0 8 PASS toggleEventCount is 0
9 PASS toggleEventCountFromHTMLAttribute is 0
8 PASS toggleEventCount is 0 10 PASS toggleEventCount is 0
11 PASS toggleEventCountFromHTMLAttribute is 0
12 PASS testEvent.__proto__ is Event.prototype
13 PASS testEvent.type is "toggle"
9 PASS testEvent.__proto__ is Event.prototype 14 PASS testEvent.__proto__ is Event.prototype
10 PASS testEvent.type is "toggle" 15 PASS testEvent.type is "toggle"
11 PASS toggleEventCount is 1 16 PASS toggleEventCount is 1
17 PASS toggleEventCountFromHTMLAttribute is 1
12 PASS details.open is true 18 PASS details.open is true
13 PASS testEvent.__proto__ is Event.prototype 19 PASS testEvent.__proto__ is Event.prototype
14 PASS testEvent.type is "toggle" 20 PASS testEvent.type is "toggle"
21 PASS testEvent.__proto__ is Event.prototype
22 PASS testEvent.type is "toggle"
15 PASS toggleEventCount is 2 23 PASS toggleEventCount is 2
24 PASS toggleEventCountFromHTMLAttribute is 2
16 PASS details.open is false 25 PASS details.open is false
17 PASS successfullyParsed is true 26 PASS successfullyParsed is true
18 27
19 TEST COMPLETE 28 TEST COMPLETE
20 details 29 details
OLDNEW
« no previous file with comments | « LayoutTests/fast/html/details-open-toggle-event.html ('k') | Source/core/dom/GlobalEventHandlers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698