blob: 1f75f7b9ff4d7d0d20c829fb0690b9e7a474da25 [file] [log] [blame]
When contentEditable is missing, it maps to "inherit" state and the element is NOT editable if its parent/ancestor's contentEditable is also missing.
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 false
PASS window.getComputedStyle(p, "").getPropertyValue("-webkit-user-modify") is "read-only"
PASS successfullyParsed is true
TEST COMPLETE