blob: b08f388f10e1ee792979f84c46f4677fa5328ad2 [file] [log] [blame]
When contentEditable is missing, it maps to "inherit" state and the element is editable if its nearest ancestor is.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.getElementById("p").hasAttribute("contentEditable") is false
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