blob: 688feca8529ae48bbacfc33ce35894c86cb2d134 [file] [log] [blame]
Content should be editable if its and its ancestor's contentEditable not set, and document.designMode is enabled.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
document.designMode = "on"
PASS document.getElementById("div").contentEditable is "inherit"
PASS document.getElementById("div").isContentEditable is true
PASS window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify") is "read-write"
PASS document.getElementById("p").contentEditable is "inherit"
PASS document.getElementById("p").isContentEditable is true
PASS window.getComputedStyle(p, "").getPropertyValue("-webkit-user-modify") is "read-write"
PASS successfullyParsed is true
TEST COMPLETE