OLD | NEW |
1 When contentEditable is set to invalid string, SYNTAX_ERR exception (code: 12) m
ust be raised. | 1 When contentEditable is set to invalid string, SYNTAX_ERR exception (code: 12) m
ust be raised. |
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 document.getElementById('div').contentEditable = 'abc' threw exception Erro
r: SyntaxError: DOM Exception 12. | 6 PASS document.getElementById('div').contentEditable = 'abc' threw exception Synt
axError: An invalid or illegal string was specified.. |
7 PASS document.getElementById("div").getAttribute("contentEditable") is "true" | 7 PASS document.getElementById("div").getAttribute("contentEditable") is "true" |
8 PASS document.getElementById("div").contentEditable is "true" | 8 PASS document.getElementById("div").contentEditable is "true" |
9 PASS document.getElementById("div").isContentEditable is true | 9 PASS document.getElementById("div").isContentEditable is true |
10 PASS window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify") is
"read-write" | 10 PASS window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify") is
"read-write" |
11 PASS document.getElementById('div').contentEditable = '' threw exception Error:
SyntaxError: DOM Exception 12. | 11 PASS document.getElementById('div').contentEditable = '' threw exception SyntaxE
rror: An invalid or illegal string was specified.. |
12 PASS document.getElementById("div").getAttribute("contentEditable") is "true" | 12 PASS document.getElementById("div").getAttribute("contentEditable") is "true" |
13 PASS document.getElementById("div").contentEditable is "true" | 13 PASS document.getElementById("div").contentEditable is "true" |
14 PASS document.getElementById("div").isContentEditable is true | 14 PASS document.getElementById("div").isContentEditable is true |
15 PASS window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify") is
"read-write" | 15 PASS window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify") is
"read-write" |
16 PASS successfullyParsed is true | 16 PASS successfullyParsed is true |
17 | 17 |
18 TEST COMPLETE | 18 TEST COMPLETE |
19 | 19 |
OLD | NEW |