blob: 0a9eda2afaa3a83bbe0efe7e32a29de4d4ad2bfb [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<div id="result"></div>
<div id="div" contentEditable="false"></div>
<script>
description('When contentEditable attribute is "false" string, element.contentEditable returns "false" and the element is NOT editable.')
shouldBe('document.getElementById("div").getAttribute("contentEditable")','"false"');
shouldBe('document.getElementById("div").contentEditable', '"false"');
shouldBe('document.getElementById("div").isContentEditable', 'false');
shouldBe('window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify")', '"read-only"');
document.getElementById("div").style.display= 'none';
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>