blob: 75620b14e7e851cb7a7bc6ae3589bc42ee74f337 [file] [log] [blame]
When contentEditable is set to invalid string, SYNTAX_ERR exception (code: 12) must be raised.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.getElementById('div').contentEditable = 'abc' threw exception SyntaxError: The string did not match the expected pattern..
PASS document.getElementById("div").getAttribute("contentEditable") is "true"
PASS document.getElementById("div").contentEditable is "true"
PASS document.getElementById("div").isContentEditable is true
PASS window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify") is "read-write"
PASS document.getElementById('div').contentEditable = '' threw exception SyntaxError: The string did not match the expected pattern..
PASS document.getElementById("div").getAttribute("contentEditable") is "true"
PASS document.getElementById("div").contentEditable is "true"
PASS document.getElementById("div").isContentEditable is true
PASS window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify") is "read-write"
PASS successfullyParsed is true
TEST COMPLETE