blob: d3c2831b381fff304f065eddfdc6ca397681d8ac [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><!-- webkit-test-runner [ enableKeygenElement=true ] -->
<html>
<head>
<script src="../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description("Ensures that this snippet does not lead to a crash in the code that detects if a table is contenteditable. Bug 87409.");
</script>
<style>
.tableStyle { display: inline-table; content: counter(section);</style>
<script>
function crash() {
var node = document.createElement('keygen');
node.setAttribute('autofocus', 'autofocus');
node.setAttribute('class', 'tableStyle');
document.documentElement.appendChild(node);
}
window.onload = crash;
</script>
<p id="description"></p>
<div id="console"></div>
<script src="../resources/js-test-post.js"></script>
</body>
</html>