blob: e6a898c98ef9cb6781a7618f71cf39d2c2504228 [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 src="../resources/test.swf" type="application/x-shockwave-flash" allowfullscreen="true" width="362" height="298" data-original-width="425" data-original-height="350">
<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>