blob: 9875e95b0e294df8c991250b994dfc86205a22bf [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../resources/js-test-pre.js"></script>
</head>
<body id="body">
<embed>
<div pseudo="-webkit-plugin-replacement" style="display: inline-block; position: relative; width: 100; height: 100;" id="group">
<iframe width="100%" id="iframe" style="max-height: 100%" height="350" src="resources/cake.png" frameborder="0" scrolling="no"></iframe>
</div>
</embed>
<p id="description"></p>
<div id="console"></div>
<script>
description("Make sure that an inline block element is not cast incorrectly causing an assertion.");
if (window.accessibilityController) {
var element = accessibilityController.accessibleElementById("group").childAtIndex(0).childAtIndex(0);
debug("ROLE: " + element.role);
}
</script>
<script src="../resources/js-test-post.js"></script>
</body>
</html>