haikuwebkit/LayoutTests/accessibility/mac/document-attributes.html

25 lines
511 B
HTML

<html>
<head>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var log = function(msg)
{
document.getElementById("console").appendChild(document.createTextNode(msg + "\n"));
}
onload = function()
{
if (window.accessibilityController)
log(accessibilityController.focusedElement.allAttributes());
else
log("This test requires DumpRenderTree to run.")
}
</script>
</head>
<body>
<pre id="console"></pre>
</body>
</html>