blob: 1cb873e2c6ea35148172b7bd6d7abb0b5242c81e [file] [log] [blame]
<!DOCTYPE html><!-- webkit-test-runner [ AttachmentElementEnabled=true ] -->
<html>
<body id="body">
<div id="content">
hello
<img src="resources/cake.png" alt="cake">
<attachment id="attachment" title="title" subtitle="subtitle" action="action" progress="0.5"></attachment>
world
</div>
<p id="description"></p>
<div id="console"></div>
<script src="../../resources/js-test-pre.js"></script>
<script>
description("This test ensures that attributed string for range works");
if (window.accessibilityController) {
var obj = accessibilityController.accessibleElementById("content");
var text = obj.attributedStringForRange(0, 10);
debug("Attributed string: " + text);
}
successfullyParsed = true;
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>