blob: ffa2e972488b46477bc3d995d3c8b810a79473ca [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../fast/js/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="../fast/js/resources/js-test-post.js"></script>
</body>
</html>