OLD | NEW |
1 Tests that showModal() performs the steps specified in the HTML spec. bug 97425 | 1 Tests that showModal() performs the steps specified in the HTML spec. bug 97425 |
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 computedStyle.getPropertyValue('display') is "none" | 6 PASS computedStyle.getPropertyValue('display') is "none" |
7 PASS computedStyle.getPropertyValue('display') is "block" | 7 PASS computedStyle.getPropertyValue('display') is "block" |
8 "If dialog already has an open attribute, then throw an InvalidStateError except
ion." | 8 "If dialog already has an open attribute, then throw an InvalidStateError except
ion." |
9 PASS dialog.showModal(); threw exception Error: InvalidStateError: DOM Exception
11. | 9 PASS dialog.showModal(); threw exception InvalidStateError: An attempt was made
to use an object that is not, or is no longer, usable.. |
10 PASS computedStyle.getPropertyValue('display') is "none" | 10 PASS computedStyle.getPropertyValue('display') is "none" |
11 "If dialog is not in a Document, then throw an InvalidStateError exception." | 11 "If dialog is not in a Document, then throw an InvalidStateError exception." |
12 PASS dialog.showModal(); threw exception Error: InvalidStateError: DOM Exception
11. | 12 PASS dialog.showModal(); threw exception InvalidStateError: An attempt was made
to use an object that is not, or is no longer, usable.. |
13 PASS dialog.open is false | 13 PASS dialog.open is false |
14 Although the document is not attached to any pages, showModal() should execute a
s normal. | 14 Although the document is not attached to any pages, showModal() should execute a
s normal. |
15 PASS dialog.open is true | 15 PASS dialog.open is true |
16 PASS successfullyParsed is true | 16 PASS successfullyParsed is true |
17 | 17 |
18 TEST COMPLETE | 18 TEST COMPLETE |
19 | 19 |
OLD | NEW |