blob: c9441c0a7df0fb407076fee1dcec47992220b7a3 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test-pre.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>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>