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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/dialog-show-modal-expected.txt

Issue 2671603003: Move DIALOG element tests to html/dialog/. (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
(Empty)
1 Tests that showModal() performs the steps specified in the HTML spec. bug 97425
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS computedStyle.getPropertyValue('display') is "none"
7 PASS computedStyle.getPropertyValue('display') is "block"
8 "If dialog already has an open attribute, then throw an InvalidStateError except ion."
9 PASS dialog.showModal(); threw exception InvalidStateError: Failed to execute 's howModal' on 'HTMLDialogElement': The element already has an 'open' attribute, a nd therefore cannot be opened modally..
10 PASS computedStyle.getPropertyValue('display') is "none"
11 "If dialog is not in a Document, then throw an InvalidStateError exception."
12 PASS dialog.showModal(); threw exception InvalidStateError: Failed to execute 's howModal' on 'HTMLDialogElement': The element is not in a Document..
13 PASS dialog.open is false
14 Although the document is not attached to any pages, showModal() should execute a s normal.
15 PASS dialog.open is true
16 PASS successfullyParsed is true
17
18 TEST COMPLETE
19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698