blob: 5d8c4849fff8d54037b8927a71050e76a1bfe173 [file] [edit]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../../resources/js-test.js"></script>
</head>
<body id="body">
<input id="combo" type="text" role="combobox" aria-autocomplete="list" aria-owns="statelist" placeholder="Placeholder" value="text">
<p id="description"></p>
<div id="console"></div>
<script>
description("This tests that a combobox element used on a native text control will return the correct AXValue and placeholder.");
if (window.accessibilityController) {
var combobox = accessibilityController.accessibleElementById("combo");
shouldBe("combobox.stringValue", "'AXValue: text'");
shouldBe("combobox.stringAttributeValue('AXPlaceholderValue')", "'Placeholder'");
}
</script>
</body>
</html>