blob: 21f93464d37aa570906f85da2c0ab7f6f422f1ce [file] [log] [blame] [edit]
<!DOCTYPE html>
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body>
<div contenteditable id="contenteditable"></div>
<script>
let output = "This tests that we can retrieve resolved editing styles from the editable text area.\n\n";
if (window.accessibilityController) {
document.getElementById("contenteditable").focus();
textInputController.insertText("a");
document.execCommand("italic", false)
document.execCommand("FontSize", false, 6)
output += accessibilityController
.accessibleElementById("contenteditable")
.stringDescriptionOfAttributeValue("AXResolvedEditingStyles");
debug(output);
finishJSTest();
}
</script>
</body>
</html>